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