/// Hint that the `Deserialize` type is expecting a struct with a particular
/// name and fields.
Hint that the `Deserialize` type is expecting a struct with a particular
name and fields.
Hint that the ` Deserialize ` type is expecting a struct with a particular name and fields .
fn deserialize_struct<V>(
        self,
        name: &'static str,
        fields: &'static [&'static str],
        visitor: V,
    ) -> Result<V::Value, Self::Error>
    where
        V: Visitor<'de>,
    {
        self.calls.push(Tokens::Struct(name, fields));
        visitor.visit_seq(Access {
            calls: self.calls,
            len: fields.len(),
            magic: self.magic,
        })
    }
fn deserialize_struct < V > ( self , name : & ' static str , fields : & ' static [ & ' static str ] , visitor : V , ) -> Result < V :: Value , Self :: Error > where V : Visitor < ' de > , { self . calls . push ( Tokens :: Struct ( name , fields ) ) ; visitor . visit_seq ( Access { calls : self . calls , len : fields . len ( ) , magic : self . magic , } ) }
Hint that the `Deserialize` type is expecting a struct with a particular
name and fields.
Hint that the ` Deserialize ` type is expecting a struct with a particular name and fields .
self
name
&'static str
fields
&'static [&'static str]
visitor
V