fn deserialize_str<V>(self, visitor: V) -> Result<V::Value, Self::Error>
    where
        V: Visitor<'de>,
    {
        self.calls.push(Tokens::Str);
        visitor.visit_borrowed_str("foo")
    }
/// Hint that the `Deserialize` type is expecting a string value and does
/// not benefit from taking ownership of buffered data owned by the
/// `Deserializer`.
///
/// If the `Visitor` would benefit from taking ownership of `String` data,
/// indiciate this to the `Deserializer` by using `deserialize_string`
/// instead.
Hint that the `Deserialize` type is expecting a string value and does
not benefit from taking ownership of buffered data owned by the
`Deserializer`.


Hint that the ` Deserialize ` type is expecting a string value and does not benefit from taking ownership of buffered data owned by the ` Deserializer ` .
fn deserialize_str<V>(self, visitor: V) -> Result<V::Value, Self::Error>
    where
        V: Visitor<'de>,
    {
        self.calls.push(Tokens::Str);
        visitor.visit_borrowed_str("foo")
    }
fn deserialize_str < V > ( self , visitor : V ) -> Result < V :: Value , Self :: Error > where V : Visitor < ' de > , { self . calls . push ( Tokens :: Str ) ; visitor . visit_borrowed_str ( " " ) }
Hint that the `Deserialize` type is expecting a string value and does
not benefit from taking ownership of buffered data owned by the
`Deserializer`.
Hint that the ` Deserialize ` type is expecting a string value and does not benefit from taking ownership of buffered data owned by the ` Deserializer ` .
self
visitor
V
self
visitor
V