fn deserialize_tuple_struct<V>(
        self,
        name: &'static str,
        len: usize,
        visitor: V,
    ) -> Result<V::Value>
    where
        V: Visitor<'de>,
    {
        self.skip_whitespace()?;
        let identifier = self.parse_identifier()?;
        if identifier != name {
            return Err(self.error(ErrorCode::WrongStructName(
                name.to_string(),
                identifier.to_string(),
            )));
        }

        self.skip_whitespace()?;
        self.deserialize_tuple(len, visitor)
    }
// Tuple structs, in Rudano, are tuples with a name.
Tuple structs, in Rudano, are tuples with a name.
Tuple structs in Rudano are tuples with a name .
fn deserialize_tuple_struct<V>(
        self,
        name: &'static str,
        len: usize,
        visitor: V,
    ) -> Result<V::Value>
    where
        V: Visitor<'de>,
    {
        self.skip_whitespace()?;
        let identifier = self.parse_identifier()?;
        if identifier != name {
            return Err(self.error(ErrorCode::WrongStructName(
                name.to_string(),
                identifier.to_string(),
            )));
        }
        self.skip_whitespace()?;
        self.deserialize_tuple(len, visitor)
    }
fn deserialize_tuple_struct < V > ( self , name : & ' static str , len : usize , visitor : V , ) -> Result < V :: Value > where V : Visitor < ' de > , { self . skip_whitespace ( ) ? ; let identifier = self . parse_identifier ( ) ? ; if identifier != name { return Err ( self . error ( ErrorCode :: WrongStructName ( name . to_string ( ) , identifier . to_string ( ) , ) ) ) ; } self . skip_whitespace ( ) ? ; self . deserialize_tuple ( len , visitor ) }
Tuple structs, in Rudano, are tuples with a name.
Tuple structs in Rudano are tuples with a name .
self
name
&'static str
len
usize
visitor
V
self
name
&'static str
len
usize
visitor
V