Struct serde_state::de::OptionSeed [] [src]

pub struct OptionSeed<S>(pub S);

DeserializeSeed instances for optional values

Trait Implementations

impl<'de, S> DeserializeSeed<'de> for OptionSeed<S> where
    S: DeserializeSeed<'de>, 
[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