Struct ptah::de::Deserializer
source · [−]pub struct Deserializer<'de> { /* private fields */ }
Implementations
pub fn deserialize_option<T>(&mut self) -> Result<Option<T>> where
T: ?Sized + Deserialize<'de>,
Start deserializing an enum
. Any data contained should be deserialized next.
Start deserializing a seq
. Returns the number of elements the caller should deserialize.
Start deserializing a map
. Returns the number of elements (key-value pairs) the caller should deserialize.