persistent-test-2.0.0.3: Tests for Persistent
PersistTestPetCollarType
data PetCollar Source #
Constructors
Fields
Instances
Methods
(==) :: PetCollar -> PetCollar -> Bool #
(/=) :: PetCollar -> PetCollar -> Bool #
showsPrec :: Int -> PetCollar -> ShowS #
show :: PetCollar -> String #
showList :: [PetCollar] -> ShowS #
Associated Types
type Rep PetCollar :: * -> * #
from :: PetCollar -> Rep PetCollar x #
to :: Rep PetCollar x -> PetCollar #
toJSON :: PetCollar -> Value #
toEncoding :: PetCollar -> Encoding #
toJSONList :: [PetCollar] -> Value #
toEncodingList :: [PetCollar] -> Encoding #
parseJSON :: Value -> Parser PetCollar #
parseJSONList :: Value -> Parser [PetCollar] #
sqlType :: Proxy * PetCollar -> SqlType #
toPersistValue :: PetCollar -> PersistValue #
fromPersistValue :: PersistValue -> Either Text PetCollar #