Expand description
SBOR Schema
Modules§
Macros§
Structs§
- Represents additional validation that should be performed on the size.
- This is the struct used in the Schema
- Represents additional validation that should be performed on the numeric value.
- An array of custom type kinds, and associated extra information which can attach to the type kinds
- Combines all data about a Type:
- This enables the type to be represented as eg JSON Also used to facilitate type reconstruction
Enums§
- The TypeId which is local to a given
Schema
. This is theSchemaTypeLink
used in a linearizedSchema
to linkTypeKind
s. - This is a compile-time identifier for a given type, used by the type aggregator to uniquely identify a type.
- A schema for the values that a codec can decode / views as valid
- Additional validation to apply to a payload of the given type, beyond validation from the
TypeKind
’s type structure.
Constants§
Traits§
- The
Describe
trait allows a type to describe how to interpret and validate a corresponding SBOR payload. - Marker trait for a link between
TypeKind
s: