[][src]Struct serde::de::value::MapAccessDeserializer

pub struct MapAccessDeserializer<A> { /* fields omitted */ }

A deserializer holding a MapAccess.

Methods

impl<A> MapAccessDeserializer<A>[src]

pub fn new(map: A) -> Self[src]

Construct a new MapAccessDeserializer<A>.

Trait Implementations

impl<'de, A> Deserializer<'de> for MapAccessDeserializer<A> where
    A: MapAccess<'de>, 
[src]

type Error = A::Error

The error type that can be returned if some error occurs during deserialization. Read more

fn is_human_readable(&self) -> bool[src]

Determine whether Deserialize implementations should expect to deserialize their human-readable form. Read more

impl<'de, A> EnumAccess<'de> for MapAccessDeserializer<A> where
    A: MapAccess<'de>, 
[src]

type Error = A::Error

The error type that can be returned if some error occurs during deserialization. Read more

type Variant = MapAsEnum<A>

The Visitor that will be used to deserialize the content of the enum variant. Read more

fn variant<V>(self) -> Result<(V, Self::Variant), Self::Error> where
    V: Deserialize<'de>, 
[src]

variant is called to identify which variant to deserialize. Read more

impl<A: Clone> Clone for MapAccessDeserializer<A>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<A: Debug> Debug for MapAccessDeserializer<A>[src]

Auto Trait Implementations

impl<A> Unpin for MapAccessDeserializer<A> where
    A: Unpin

impl<A> Sync for MapAccessDeserializer<A> where
    A: Sync

impl<A> Send for MapAccessDeserializer<A> where
    A: Send

impl<A> UnwindSafe for MapAccessDeserializer<A> where
    A: UnwindSafe

impl<A> RefUnwindSafe for MapAccessDeserializer<A> where
    A: RefUnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]