Struct serde::de::value::StringDeserializer
[−]
[src]
pub struct StringDeserializer(_);
A helper deserializer that deserializes a String.
pub struct StringDeserializer(_);
A helper deserializer that deserializes a String.
impl Deserializer for StringDeserializertype Error = Errorfn visit<V>(&mut self, visitor: V) -> Result<V::Value, Error> where V: Visitorfn visit_enum<V>(&mut self, _name: &str, _variants: &'static [&'static str], visitor: V) -> Result<V::Value, Error> where V: EnumVisitorfn visit_bool<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_usize<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_u8<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_u16<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_u32<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_u64<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_isize<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_i8<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_i16<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_i32<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_i64<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_f32<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_f64<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_char<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_str<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_string<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_unit<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_option<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_seq<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_map<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_unit_struct<V>(&mut self, _name: &'static str, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_newtype_struct<V>(&mut self, name: &'static str, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_tuple_struct<V>(&mut self, _name: &'static str, len: usize, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_struct<V>(&mut self, _name: &'static str, _fields: &'static [&'static str], visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_tuple<V>(&mut self, _len: usize, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_bytes<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn format() -> &'static strimpl<'a> VariantVisitor for StringDeserializertype Error = Errorfn visit_variant<T>(&mut self) -> Result<T, Error> where T: Deserializefn visit_unit(&mut self) -> Result<(), Error>fn visit_newtype<T>(&mut self) -> Result<T, Self::Error> where T: Deserializefn visit_tuple<V>(&mut self, _len: usize, _visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_struct<V>(&mut self, _fields: &'static [&'static str], _visitor: V) -> Result<V::Value, Self::Error> where V: Visitor