Trait JSONDeserialize

Source
pub trait JSONDeserialize
where Self: DeserializeOwned,
{ // Provided method fn try_from_json(json: &[u8]) -> Result<Self, SmolStr> { ... } }

Provided Methods§

Source

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.

Implementors§