/// Hint that the `Deserialize` type is expecting a unit struct with a
/// particular name.
Hint that the `Deserialize` type is expecting a unit struct with a
particular name.
Hint that the ` Deserialize ` type is expecting a unit struct with a particular name .
fn deserialize_unit_struct<V>(
        self,
        name: &'static str,
        visitor: V,
    ) -> Result<V::Value, Self::Error>
    where
        V: Visitor<'de>,
    {
        self.calls.push(Tokens::UnitStruct(name));
        visitor.visit_unit()
    }
fn deserialize_unit_struct < V > ( self , name : & ' static str , visitor : V , ) -> Result < V :: Value , Self :: Error > where V : Visitor < ' de > , { self . calls . push ( Tokens :: UnitStruct ( name ) ) ; visitor . visit_unit ( ) }
Hint that the `Deserialize` type is expecting a unit struct with a
particular name.
Hint that the ` Deserialize ` type is expecting a unit struct with a particular name .
self
name
&'static str
visitor
V