fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where
        D: Deserializer<'de>,
    {
        struct ClaimsVisitor<GC: GenderClaim>(PhantomData<GC>);
        impl<'de, GC> Visitor<'de> for ClaimsVisitor<GC>
        where
            GC: GenderClaim,
        {
            type Value = StandardClaimsImpl<GC>;

            fn expecting(&self, formatter: &mut Formatter) -> FormatterResult {
                formatter.write_str("struct StandardClaimsImpl")
            }
            fn visit_map<V>(self, mut map: V) -> Result<Self::Value, V::Error>
            where
                V: MapAccess<'de>,
            {
                deserialize_fields!{
                    map {
                        [sub]
                        [LanguageTag(name)]
                        [LanguageTag(given_name)]
                        [LanguageTag(family_name)]
                        [LanguageTag(middle_name)]
                        [LanguageTag(nickname)]
                        [Option(preferred_username)]
                        [LanguageTag(profile)]
                        [LanguageTag(picture)]
                        [LanguageTag(website)]
                        [Option(email)]
                        [Option(email_verified)]
                        [Option(gender)]
                        [Option(birthday)]
                        [Option(zoneinfo)]
                        [Option(locale)]
                        [Option(phone_number)]
                        [Option(phone_number_verified)]
                        [Option(address)]
                        [Option(updated_at)]
                    }
                }
            }
        }
        deserializer.deserialize_map(ClaimsVisitor(PhantomData))
    }
///
/// Special deserializer that supports [RFC 5646](https://tools.ietf.org/html/rfc5646) language
/// tags associated with human-readable client metadata fields.
///
Special deserializer that supports [RFC 5646] language
tags associated with human-readable client metadata fields.
Special deserializer that supports [ RFC 5646 ] language tags associated with human - readable client metadata fields .
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where
        D: Deserializer<'de>,
    {
        struct ClaimsVisitor<GC: GenderClaim>(PhantomData<GC>);
        impl<'de, GC> Visitor<'de> for ClaimsVisitor<GC>
        where
            GC: GenderClaim,
        {
            type Value = StandardClaimsImpl<GC>;
            fn expecting(&self, formatter: &mut Formatter) -> FormatterResult {
                formatter.write_str("struct StandardClaimsImpl")
            }
            fn visit_map<V>(self, mut map: V) -> Result<Self::Value, V::Error>
            where
                V: MapAccess<'de>,
            {
                deserialize_fields!{
                    map {
                        [sub]
                        [LanguageTag(name)]
                        [LanguageTag(given_name)]
                        [LanguageTag(family_name)]
                        [LanguageTag(middle_name)]
                        [LanguageTag(nickname)]
                        [Option(preferred_username)]
                        [LanguageTag(profile)]
                        [LanguageTag(picture)]
                        [LanguageTag(website)]
                        [Option(email)]
                        [Option(email_verified)]
                        [Option(gender)]
                        [Option(birthday)]
                        [Option(zoneinfo)]
                        [Option(locale)]
                        [Option(phone_number)]
                        [Option(phone_number_verified)]
                        [Option(address)]
                        [Option(updated_at)]
                    }
                }
            }
        }
        deserializer.deserialize_map(ClaimsVisitor(PhantomData))
    }
fn deserialize < D > ( deserializer : D ) -> Result < Self , D :: Error > where D : Deserializer < ' de > , { struct ClaimsVisitor < GC : GenderClaim > ( PhantomData < GC > ) ; impl < ' de , GC > Visitor < ' de > for ClaimsVisitor < GC > where GC : GenderClaim , { type Value = StandardClaimsImpl < GC > ; fn expecting ( & self , formatter : & mut Formatter ) -> FormatterResult { formatter . write_str ( " " ) } fn visit_map < V > ( self , mut map : V ) -> Result < Self :: Value , V :: Error > where V : MapAccess < ' de > , { deserialize_fields ! { map { [ sub ] [ LanguageTag ( name ) ] [ LanguageTag ( given_name ) ] [ LanguageTag ( family_name ) ] [ LanguageTag ( middle_name ) ] [ LanguageTag ( nickname ) ] [ Option ( preferred_username ) ] [ LanguageTag ( profile ) ] [ LanguageTag ( picture ) ] [ LanguageTag ( website ) ] [ Option ( email ) ] [ Option ( email_verified ) ] [ Option ( gender ) ] [ Option ( birthday ) ] [ Option ( zoneinfo ) ] [ Option ( locale ) ] [ Option ( phone_number ) ] [ Option ( phone_number_verified ) ] [ Option ( address ) ] [ Option ( updated_at ) ] } } } } deserializer . deserialize_map ( ClaimsVisitor ( PhantomData ) ) }
Special deserializer that supports [RFC 5646](https://tools.ietf.org/html/rfc5646) language
tags associated with human-readable client metadata fields.
Special deserializer that supports [ RFC 5646 ] ( https : // tools . ietf . org / html / rfc5646 ) language tags associated with human - readable client metadata fields .
deserializer
D
deserializer
D