bond-haskell-0.1.5.0: Runtime support for BOND serialization
Data.Bond.Schema.StructDef
data StructDef Source #
Constructors
Fields
Instances
Methods
(==) :: StructDef -> StructDef -> Bool #
(/=) :: StructDef -> StructDef -> Bool #
showsPrec :: Int -> StructDef -> ShowS #
show :: StructDef -> String #
showList :: [StructDef] -> ShowS #
Associated Types
type Rep StructDef :: * -> * #
from :: StructDef -> Rep StructDef x #
to :: Rep StructDef x -> StructDef #
rnf :: StructDef -> () #
bondStructGetUntagged :: (Functor (ReaderM t), Monad (ReaderM t), Protocol t) => BondGet t StructDef Source #
bondStructGetBase :: (Monad (ReaderM t), Protocol t) => StructDef -> BondGet t StructDef Source #
bondStructGetField :: (Functor (ReaderM t), Monad (ReaderM t), Protocol t) => Ordinal -> StructDef -> BondGet t StructDef Source #
bondStructPut :: (Monad (BondPutM t), Protocol t) => StructDef -> BondPut t Source #
getSchema :: Proxy * StructDef -> StructSchema Source #
bondGet :: (Functor (ReaderM t), Monad (ReaderM t), Protocol t) => BondGet t StructDef Source #
bondPut :: (Monad (BondPutM t), Protocol t) => StructDef -> BondPut t Source #
getName :: Proxy * StructDef -> Text Source #
getQualifiedName :: Proxy * StructDef -> Text Source #
getElementType :: Proxy * StructDef -> ElementTypeInfo Source #
defaultValue :: StructDef Source #
equalToDefault :: FieldTypeInfo -> StructDef -> Bool