Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
Instances
Arbitrary Component Source # | |
FromJSON Component Source # | |
ToJSON Component Source # | |
Generic Component Source # | |
Show Component Source # | |
Eq Component Source # | |
FromHttpApiData Component Source # | |
Defined in Wire.API.Component | |
ToHttpApiData Component Source # | |
Defined in Wire.API.Component toUrlPiece :: Component -> Text Source # toEncodedUrlPiece :: Component -> Builder Source # toHeader :: Component -> ByteString Source # toQueryParam :: Component -> Text Source # | |
ToSchema Component Source # | |
Defined in Wire.API.Component | |
type Rep Component Source # | |
Defined in Wire.API.Component type Rep Component = D1 ('MetaData "Component" "Wire.API.Component" "wire-api-0.1.0-EbZS9CKNOfZ8BBy5DRJfXi" 'False) (C1 ('MetaCons "Brig" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Galley" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Cargohold" 'PrefixI 'False) (U1 :: Type -> Type))) |
type family ShowComponent (x :: Component) = (res :: Symbol) | res -> x where ... Source #
Get a symbol representation of our component.
ShowComponent 'Brig = "brig" | |
ShowComponent 'Galley = "galley" | |
ShowComponent 'Cargohold = "cargohold" |