Rattletrap.Type.Property.Struct
data Struct a Source #
Constructors
Fields
Defined in Rattletrap.Type.Property.Struct
Methods
parseJSON :: Value -> Parser (Struct a) #
parseJSONList :: Value -> Parser [Struct a] #
omittedField :: Maybe (Struct a) #
toJSON :: Struct a -> Value #
toEncoding :: Struct a -> Encoding #
toJSONList :: [Struct a] -> Value #
toEncodingList :: [Struct a] -> Encoding #
omitField :: Struct a -> Bool #
showsPrec :: Int -> Struct a -> ShowS #
show :: Struct a -> String #
showList :: [Struct a] -> ShowS #
(==) :: Struct a -> Struct a -> Bool #
(/=) :: Struct a -> Struct a -> Bool #
schema :: Schema -> Schema Source #
bytePut :: (a -> BytePut) -> Struct a -> BytePut Source #
byteGet :: ByteGet a -> ByteGet (Struct a) Source #