pub trait FromJson: Sized {
// Required method
fn from_json(value: &Value) -> Result<Self, JsonError>;
}Expand description
A value that can be read from a normalised document.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".