pub trait Deserialize {
    // Required method
    fn deserialize(val: &Intermediate) -> Result<Self, Error>
       where Self: Sized;
}
Expand description

Deserialize trait.

The trait can be implemented by objects the can deserialized from the intermediate representation.

Required Methods§

source

fn deserialize(val: &Intermediate) -> Result<Self, Error>where Self: Sized,

Deserialize an object instance.

Implementations on Foreign Types§

source§

impl Deserialize for bool

source§

impl Deserialize for char

source§

impl Deserialize for f32

source§

impl Deserialize for f64

source§

impl Deserialize for i8

source§

impl Deserialize for i16

source§

impl Deserialize for i32

source§

impl Deserialize for i64

source§

impl Deserialize for i128

source§

impl Deserialize for isize

source§

impl Deserialize for u8

source§

impl Deserialize for u16

source§

impl Deserialize for u32

source§

impl Deserialize for u64

source§

impl Deserialize for u128

source§

impl Deserialize for ()

source§

impl Deserialize for usize

source§

impl Deserialize for String

source§

impl<K, V> Deserialize for HashMap<K, V>where K: From<Cow<'static, str>> + Eq + Hash, V: Deserialize,

source§

fn deserialize(val: &Intermediate) -> Result<Self, Error>where Self: Sized,

source§

impl<T0> Deserialize for (T0,)where T0: Deserialize,

source§

impl<T0, T1> Deserialize for (T0, T1)where T0: Deserialize, T1: Deserialize,

source§

impl<T0, T1, T2> Deserialize for (T0, T1, T2)where T0: Deserialize, T1: Deserialize, T2: Deserialize,

source§

impl<T0, T1, T2, T3> Deserialize for (T0, T1, T2, T3)where T0: Deserialize, T1: Deserialize, T2: Deserialize, T3: Deserialize,

source§

impl<T0, T1, T2, T3, T4> Deserialize for (T0, T1, T2, T3, T4)where T0: Deserialize, T1: Deserialize, T2: Deserialize, T3: Deserialize, T4: Deserialize,

source§

impl<T0, T1, T2, T3, T4, T5> Deserialize for (T0, T1, T2, T3, T4, T5)where T0: Deserialize, T1: Deserialize, T2: Deserialize, T3: Deserialize, T4: Deserialize, T5: Deserialize,

source§

impl<T0, T1, T2, T3, T4, T5, T6> Deserialize for (T0, T1, T2, T3, T4, T5, T6)where T0: Deserialize, T1: Deserialize, T2: Deserialize, T3: Deserialize, T4: Deserialize, T5: Deserialize, T6: Deserialize,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7> Deserialize for (T0, T1, T2, T3, T4, T5, T6, T7)where T0: Deserialize, T1: Deserialize, T2: Deserialize, T3: Deserialize, T4: Deserialize, T5: Deserialize, T6: Deserialize, T7: Deserialize,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> Deserialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8)where T0: Deserialize, T1: Deserialize, T2: Deserialize, T3: Deserialize, T4: Deserialize, T5: Deserialize, T6: Deserialize, T7: Deserialize, T8: Deserialize,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Deserialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)where T0: Deserialize, T1: Deserialize, T2: Deserialize, T3: Deserialize, T4: Deserialize, T5: Deserialize, T6: Deserialize, T7: Deserialize, T8: Deserialize, T9: Deserialize,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Deserialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)where T0: Deserialize, T1: Deserialize, T2: Deserialize, T3: Deserialize, T4: Deserialize, T5: Deserialize, T6: Deserialize, T7: Deserialize, T8: Deserialize, T9: Deserialize, T10: Deserialize,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Deserialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)where T0: Deserialize, T1: Deserialize, T2: Deserialize, T3: Deserialize, T4: Deserialize, T5: Deserialize, T6: Deserialize, T7: Deserialize, T8: Deserialize, T9: Deserialize, T10: Deserialize, T11: Deserialize,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> Deserialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)where T0: Deserialize, T1: Deserialize, T2: Deserialize, T3: Deserialize, T4: Deserialize, T5: Deserialize, T6: Deserialize, T7: Deserialize, T8: Deserialize, T9: Deserialize, T10: Deserialize, T11: Deserialize, T12: Deserialize,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> Deserialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)where T0: Deserialize, T1: Deserialize, T2: Deserialize, T3: Deserialize, T4: Deserialize, T5: Deserialize, T6: Deserialize, T7: Deserialize, T8: Deserialize, T9: Deserialize, T10: Deserialize, T11: Deserialize, T12: Deserialize, T13: Deserialize,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> Deserialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)where T0: Deserialize, T1: Deserialize, T2: Deserialize, T3: Deserialize, T4: Deserialize, T5: Deserialize, T6: Deserialize, T7: Deserialize, T8: Deserialize, T9: Deserialize, T10: Deserialize, T11: Deserialize, T12: Deserialize, T13: Deserialize, T14: Deserialize,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Deserialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where T0: Deserialize, T1: Deserialize, T2: Deserialize, T3: Deserialize, T4: Deserialize, T5: Deserialize, T6: Deserialize, T7: Deserialize, T8: Deserialize, T9: Deserialize, T10: Deserialize, T11: Deserialize, T12: Deserialize, T13: Deserialize, T14: Deserialize, T15: Deserialize,

source§

impl<T> Deserialize for Option<T>where T: Deserialize,

source§

fn deserialize(val: &Intermediate) -> Result<Self, Error>where Self: Sized,

source§

impl<T> Deserialize for [T; 0]

source§

fn deserialize(_: &Intermediate) -> Result<Self, Error>where Self: Sized,

source§

impl<T> Deserialize for [T; 1]where T: Deserialize,

source§

impl<T> Deserialize for [T; 2]where T: Deserialize,

source§

impl<T> Deserialize for [T; 3]where T: Deserialize,

source§

impl<T> Deserialize for [T; 4]where T: Deserialize,

source§

impl<T> Deserialize for [T; 5]where T: Deserialize,

source§

impl<T> Deserialize for [T; 6]where T: Deserialize,

source§

impl<T> Deserialize for [T; 7]where T: Deserialize,

source§

impl<T> Deserialize for [T; 8]where T: Deserialize,

source§

impl<T> Deserialize for [T; 9]where T: Deserialize,

source§

impl<T> Deserialize for [T; 10]where T: Deserialize,

source§

impl<T> Deserialize for [T; 11]where T: Deserialize,

source§

impl<T> Deserialize for [T; 12]where T: Deserialize,

source§

impl<T> Deserialize for [T; 13]where T: Deserialize,

source§

impl<T> Deserialize for [T; 14]where T: Deserialize,

source§

impl<T> Deserialize for [T; 15]where T: Deserialize,

source§

impl<T> Deserialize for [T; 16]where T: Deserialize,

source§

impl<T> Deserialize for [T; 17]where T: Deserialize,

source§

impl<T> Deserialize for [T; 18]where T: Deserialize,

source§

impl<T> Deserialize for [T; 19]where T: Deserialize,

source§

impl<T> Deserialize for [T; 20]where T: Deserialize,

source§

impl<T> Deserialize for [T; 21]where T: Deserialize,

source§

impl<T> Deserialize for [T; 22]where T: Deserialize,

source§

impl<T> Deserialize for [T; 23]where T: Deserialize,

source§

impl<T> Deserialize for [T; 24]where T: Deserialize,

source§

impl<T> Deserialize for [T; 25]where T: Deserialize,

source§

impl<T> Deserialize for [T; 26]where T: Deserialize,

source§

impl<T> Deserialize for [T; 27]where T: Deserialize,

source§

impl<T> Deserialize for [T; 28]where T: Deserialize,

source§

impl<T> Deserialize for [T; 29]where T: Deserialize,

source§

impl<T> Deserialize for [T; 30]where T: Deserialize,

source§

impl<T> Deserialize for [T; 31]where T: Deserialize,

source§

impl<T> Deserialize for [T; 32]where T: Deserialize,

source§

impl<T> Deserialize for Box<T>where T: Deserialize,

source§

impl<T> Deserialize for Rc<T>where T: Deserialize,

source§

impl<T> Deserialize for Arc<T>where T: Deserialize,

source§

impl<T> Deserialize for Vec<T>where T: Deserialize,

source§

fn deserialize(val: &Intermediate) -> Result<Self, Error>where Self: Sized,

source§

impl<T> Deserialize for Cell<T>where T: Deserialize,

source§

impl<T> Deserialize for RefCell<T>where T: Deserialize,

source§

impl<T> Deserialize for Mutex<T>where T: Deserialize,

Implementors§