pub trait JSONDeserializewhere
Self: DeserializeOwned,{
// Provided method
fn try_from_json(json: &[u8]) -> Result<Self, SmolStr> { ... }
}Provided Methods§
fn try_from_json(json: &[u8]) -> Result<Self, SmolStr>
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.