Skip to main content

Schema

Derive Macro Schema 

Source
#[derive(Schema)]
{
    // Attributes available to this derive:
    #[schema]
}
Expand description

Derives IntoSchema, FromSchema, IntoWire, FromWire, and WireSchema. Requires the schema crate’s guest feature for the direct wire traits.