struct ConfigMapAccess<'config> {
    de: Deserializer<'config>,
    fields: Vec<KeyKind>,
    field_index: usize,
}

Fields§

§de: Deserializer<'config>§fields: Vec<KeyKind>

The fields that this map should deserialize.

§field_index: usize

Current field being deserialized.

Implementations§

Trait Implementations§

The error type that can be returned if some error occurs during deserialization.
This returns Ok(Some(key)) for the next key in the map, or Ok(None) if there are no more remaining entries. Read more
This returns a Ok(value) for the next value in the map. Read more
source§

fn next_entry_seed<K, V>(
    &mut self,
    kseed: K,
    vseed: V
) -> Result<Option<(<K as DeserializeSeed<'de>>::Value, <V as DeserializeSeed<'de>>::Value)>, Self::Error>where
    K: DeserializeSeed<'de>,
    V: DeserializeSeed<'de>,

This returns Ok(Some((key, value))) for the next (key-value) pair in the map, or Ok(None) if there are no more remaining items. Read more
This returns Ok(Some(key)) for the next key in the map, or Ok(None) if there are no more remaining entries. Read more
This returns a Ok(value) for the next value in the map. Read more
source§

fn next_entry<K, V>(&mut self) -> Result<Option<(K, V)>, Self::Error>where
    K: Deserialize<'de>,
    V: Deserialize<'de>,

This returns Ok(Some((key, value))) for the next (key-value) pair in the map, or Ok(None) if there are no more remaining items. Read more
Returns the number of entries remaining in the map, if known.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 96 bytes