Skip to main content

JsJsonDeserialize

Trait JsJsonDeserialize 

Source
pub trait JsJsonDeserialize
where Self: Sized,
{ // Required method fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>; }

Required Methods§

Source

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl JsJsonDeserialize for ()

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl JsJsonDeserialize for String

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl JsJsonDeserialize for bool

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl JsJsonDeserialize for f32

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl JsJsonDeserialize for f64

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl JsJsonDeserialize for i8

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl JsJsonDeserialize for i16

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl JsJsonDeserialize for i32

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl JsJsonDeserialize for i64

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl JsJsonDeserialize for isize

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl JsJsonDeserialize for u8

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl JsJsonDeserialize for u16

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl JsJsonDeserialize for u32

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl JsJsonDeserialize for u64

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl JsJsonDeserialize for usize

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl<K: JsJsonSerialize + JsJsonDeserialize + Ord, T: JsJsonSerialize + JsJsonDeserialize> JsJsonDeserialize for BTreeMap<K, T>

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl<T: JsJsonDeserialize> JsJsonDeserialize for HashMap<String, T>

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl<T: JsJsonDeserialize> JsJsonDeserialize for Option<T>

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Source§

impl<T: JsJsonDeserialize> JsJsonDeserialize for Vec<T>

Source§

fn from_json( context: JsJsonContext, json: JsJson, ) -> Result<Self, JsJsonContext>

Implementors§