pub trait SeamType {
// Required method
fn jtd_schema() -> Value;
}Expand description
Trait for types that can describe themselves as a JTD schema.
Derive with #[derive(SeamType)] or implement manually.
Required Methods§
fn jtd_schema() -> Value
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.