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

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

A deserializer holding a MapAccess.

Implementations

impl<A> MapAccessDeserializer<A>[src]

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

Construct a new MapAccessDeserializer<A>.

Trait Implementations

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

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

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.