Struct serde_state::de::Seed [] [src]

pub struct Seed<S, T> {
    pub seed: S,
    // some fields omitted
}

Wrapper type which implements DeserializeSeed for DeserializeState instances

Fields

The wrapped seed

Methods

impl<S, T> Seed<S, T>
[src]

Constructs a new instance of Seed

Trait Implementations

impl<S: Debug, T: Debug> Debug for Seed<S, T>
[src]

Formats the value using the given formatter.

impl<S, T> Clone for Seed<S, T> where
    S: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S, T> Copy for Seed<S, T> where
    S: Copy
[src]

impl<S, T, U> AsMut<U> for Seed<S, T> where
    S: AsMut<U>, 
[src]

Performs the conversion.

impl<'de, 's, S, T> DeserializeSeed<'de> for Seed<&'s mut S, T> where
    T: DeserializeState<'de, S>, 
[src]

The type produced by using this seed.

Equivalent to the more common Deserialize::deserialize method, except with some initial piece of data (the seed) passed in. Read more