Struct serde_value::ValueVisitor [−][src]
pub struct ValueVisitor;
Trait Implementations
Format a message stating what data this Visitor expects to receive. Read more
The input contains a string. The lifetime of the string is ephemeral and it may be destroyed after this method returns. Read more
The input contains a string and ownership of the string is being given
to the Visitor
. Read more
The input contains a unit ()
. Read more
The input contains an optional that is absent. Read more
The input contains an optional that is present. Read more
The input contains a newtype struct. Read more
The input contains a sequence of elements. Read more
The input contains a key-value map. Read more
The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
The input contains a byte array and ownership of the byte array is being
given to the Visitor
. Read more
The input contains a i128
. Read more
The input contains a u128
. Read more
The input contains a string that lives at least as long as the
Deserializer
. Read more
The input contains a byte array that lives at least as long as the
Deserializer
. Read more
fn visit_enum<A>(
self,
data: A
) -> Result<Self::Value, <A as EnumAccess<'de>>::Error> where
A: EnumAccess<'de>,
fn visit_enum<A>(
self,
data: A
) -> Result<Self::Value, <A as EnumAccess<'de>>::Error> where
A: EnumAccess<'de>,
The input contains an enum. Read more