Trait miniserde::de::Deserialize

source ·
pub trait Deserialize: Sized {
    // Required method
    fn begin(out: &mut Option<Self>) -> &mut dyn Visitor;
}
Expand description

Trait for data structures that can be deserialized from a JSON string.

Refer to the module documentation for examples.

Required Methods§

source

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

The only correct implementation of this method is:

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor {
    Place::new(out)
}

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Deserialize for bool

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl Deserialize for f32

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl Deserialize for f64

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl Deserialize for i8

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl Deserialize for i16

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl Deserialize for i32

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl Deserialize for i64

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl Deserialize for isize

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl Deserialize for u8

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl Deserialize for u16

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl Deserialize for u32

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl Deserialize for u64

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl Deserialize for ()

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl Deserialize for usize

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl Deserialize for String

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl<A: Deserialize, B: Deserialize> Deserialize for (A, B)

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl<K, V, H> Deserialize for HashMap<K, V, H>
where K: FromStr + Hash + Eq, V: Deserialize, H: BuildHasher + Default,

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl<K: FromStr + Ord, V: Deserialize> Deserialize for BTreeMap<K, V>

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

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

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

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

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

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

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

source§

impl<T: Deserialize, const N: usize> Deserialize for [T; N]

source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

Implementors§