Skip to main content

Crate serde_shape

Crate serde_shape 

Source
Expand description

Reflect the Serde deserialization shape of Rust types.

Structs§

ContainerAttributes
Serde attributes that apply to a whole container.
DefinitionShape
A named type definition in a shape graph.
EnumShape
Enum-like shape metadata.
FieldShape
Field-level shape metadata.
OpaqueShape
Shape intentionally left opaque.
Shape
A complete shape graph rooted at one type.
ShapeContext
Accumulates named definitions while a shape graph is built.
ShapeId
Identifies a named shape definition.
StructShape
Struct-like shape metadata.
TypeName
Names associated with a Rust type and its Serde container.
VariantShape
Variant-level shape metadata.

Enums§

DefaultShape
A Serde default marker.
DefinitionKind
The body of a named type definition.
FieldMember
The Rust member represented by a field.
FieldsStyle
The style of a struct, variant, or tuple field list.
OpaqueReason
Reason a shape cannot be represented precisely.
ShapeRef
A reference to a shape node.
Tagging
Serde container or enum tagging representation.

Traits§

SerdeShape
A type that can describe the shape accepted by its Serde deserializer.

Derive Macros§

SerdeShapederive
Derive serde_shape::SerdeShape from Serde derive metadata.