Crate struct_metadata

source ·
Expand description

Macros for attaching metadata to structs.

When a struct is used to define an interface with external systems there is often additonal information about the external system that is required. Rather than having that information stored separately this library intends to maintain a single source of truth.

Structs

  • Information about a type along with its metadata and doc-strings.
  • Struct describing a struct field
  • Struct describing an enum variant

Enums

  • Enum reflecting all supported types

Traits

  • A self description of the type being targeted including doc-strings and metadata annotations.
  • Trait used to describe metadata field propagation

Derive Macros