pub trait FromSchema: Sized {
// Required method
fn from_value(value: &SchemaValue) -> Result<Self, FromSchemaError>;
}Expand description
Decode a SchemaValue back into a Rust value.
Required Methods§
fn from_value(value: &SchemaValue) -> Result<Self, FromSchemaError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".