Struct serde::de::value::StrDeserializer
[−]
[src]
pub struct StrDeserializer<'a>(_);
A helper deserializer that deserializes a &str.
pub struct StrDeserializer<'a>(_);
A helper deserializer that deserializes a &str.
impl<'a> Deserializer for StrDeserializer<'a>type Error = Errorfn visit<V>(&mut self, visitor: V) -> Result<V::Value, Error> where V: Visitorfn visit_enum<V>(&mut self, _name: &str, visitor: V) -> Result<V::Value, Error> where V: EnumVisitorfn 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_named_unit<V>(&mut self, _name: &str, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_named_seq<V>(&mut self, _name: &str, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_named_map<V>(&mut self, _name: &str, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorfn visit_bytes<V>(&mut self, visitor: V) -> Result<V::Value, Self::Error> where V: Visitorimpl<'a> VariantVisitor for StrDeserializer<'a>type Error = Errorfn visit_variant<T>(&mut self) -> Result<T, Error> where T: Deserializefn visit_unit(&mut self) -> Result<(), Error>fn 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: Visitor
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).
Search functions by type signature (e.g.
vec -> usize)