#[derive(WireSchema)]
{
// Attributes available to this derive:
#[serde]
#[wire]
#[wire_schema]
}
Expand description
Describe a hand-authored Serde field or carrier for schema inspection.
For fixed DTOs, #[wire_schema(project = "Field")] describes ordinary
fields through a consumer-owned trait with an associated Layout type.
Add source = "Stored" on a concrete mirror to check its fields against
the source. Add feature = "inspection" to gate schema items on a
consumer feature while retaining the fixed marker.