pub trait Value: Sized {
const NAME: &'static str;
// Required method
fn definition() -> &'static TypeSchema;
}Expand description
Codec boundary generated by named-type macros; handwritten implementations are unsupported.
Required Associated Constants§
Required Methods§
Sourcefn definition() -> &'static TypeSchema
fn definition() -> &'static TypeSchema
Compiled descriptor, including recursive links.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".