Module postcard::experimental::schema

source ·
Expand description

Compile time Schema generation

Structs§

  • A data type - e.g. a custom struct Foo{ ... } type
  • A data type with a name - e.g. a field of a Struct
  • An enum variant with a name, e.g. T::Bar(...)

Enums§

  • Serde Data Model Types (and friends)
  • A schema type representing a variably encoded integer

Traits§

  • A trait that represents a compile time calculated schema

Derive Macros§

  • Derive the postcard::Schema trait for a struct or enum.