[][src]Struct openidconnect::AddressClaim

pub struct AddressClaim {
    pub formatted: Option<FormattedAddress>,
    pub street_address: Option<StreetAddress>,
    pub locality: Option<AddressLocality>,
    pub region: Option<AddressRegion>,
    pub postal_code: Option<AddressPostalCode>,
    pub country: Option<AddressCountry>,
}

Address claims.

Fields

formatted: Option<FormattedAddress>

Full mailing address, formatted for display or use on a mailing label.

This field MAY contain multiple lines, separated by newlines. Newlines can be represented either as a carriage return/line feed pair (\r\n) or as a single line feed character (\n).

street_address: Option<StreetAddress>

Full street address component, which MAY include house number, street name, Post Office Box, and multi-line extended street address information.

This field MAY contain multiple lines, separated by newlines. Newlines can be represented either as a carriage return/line feed pair (\r\n) or as a single line feed character (\n).

locality: Option<AddressLocality>

City or locality component.

region: Option<AddressRegion>

State, province, prefecture, or region component.

postal_code: Option<AddressPostalCode>

Zip code or postal code component.

country: Option<AddressCountry>

Country name component.

Trait Implementations

impl Default for AddressClaim[src]

impl Clone for AddressClaim[src]

impl PartialEq<AddressClaim> for AddressClaim[src]

impl Debug for AddressClaim[src]

impl Serialize for AddressClaim[src]

impl<'de> Deserialize<'de> for AddressClaim[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err