pub trait Schema {
// Required method
fn schema() -> DeriveInput;
}
Expand description
Produces a schema for the type expressed as a DeriveInput, re-exported from the syn crate.
Required Methods§
fn schema() -> DeriveInput
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.