Hercules.API.Id
newtype Id (a :: k) Source #
Constructors
Fields
Defined in Hercules.API.Id
Methods
parseJSON :: Value -> Parser (Id a) Source #
parseJSONList :: Value -> Parser [Id a] Source #
fromJSONKey :: FromJSONKeyFunction (Id a) Source #
fromJSONKeyList :: FromJSONKeyFunction [Id a] Source #
toJSON :: Id a -> Value Source #
toEncoding :: Id a -> Encoding Source #
toJSONList :: [Id a] -> Value Source #
toEncodingList :: [Id a] -> Encoding Source #
toJSONKey :: ToJSONKeyFunction (Id a) Source #
toJSONKeyList :: ToJSONKeyFunction [Id a] Source #
Associated Types
type Rep (Id a) :: Type -> Type Source #
from :: Id a -> Rep (Id a) x Source #
to :: Rep (Id a) x -> Id a Source #
showsPrec :: Int -> Id a -> ShowS Source #
show :: Id a -> String Source #
showList :: [Id a] -> ShowS Source #
rnf :: Id a -> () Source #
(==) :: Id a -> Id a -> Bool Source #
(/=) :: Id a -> Id a -> Bool Source #
compare :: Id a -> Id a -> Ordering Source #
(<) :: Id a -> Id a -> Bool Source #
(<=) :: Id a -> Id a -> Bool Source #
(>) :: Id a -> Id a -> Bool Source #
(>=) :: Id a -> Id a -> Bool Source #
max :: Id a -> Id a -> Id a Source #
min :: Id a -> Id a -> Id a Source #
hashWithSalt :: Int -> Id a -> Int Source #
hash :: Id a -> Int Source #
parseUrlPiece :: Text -> Either Text (Id a) Source #
parseHeader :: ByteString -> Either Text (Id a) Source #
parseQueryParam :: Text -> Either Text (Id a) Source #
toUrlPiece :: Id a -> Text Source #
toEncodedUrlPiece :: Id a -> Builder Source #
toHeader :: Id a -> ByteString Source #
toQueryParam :: Id a -> Text Source #
toParamSchema :: forall (t :: SwaggerKind Type). Proxy (Id a) -> ParamSchema t Source #
declareNamedSchema :: Proxy (Id a) -> Declare (Definitions Schema) NamedSchema Source #
idText :: Id a -> Text Source #
uncheckedCast :: Id a -> Id b Source #