Struct gsuite_api::BuildingAddress[][src]

pub struct BuildingAddress {
    pub language_code: String,
    pub administrative_area: String,
    pub region_code: String,
    pub locality: String,
    pub postal_code: String,
    pub sublocality: String,
    pub address_lines: Vec<String>,
}

A building's address.

Fields

language_code: String

Optional. BCP-47 language code of the contents of this address (if known).

administrative_area: String

Optional. Highest administrative subdivision which is used for postal addresses of a country or region.

region_code: String

Required. CLDR region code of the country/region of the address.

locality: String

Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use addressLines.

postal_code: String

Optional. Postal code of the address.

sublocality: String

Optional. Sublocality of the address.

address_lines: Vec<String>

Unstructured address lines describing the lower levels of an address.

Trait Implementations

impl Clone for BuildingAddress[src]

impl Debug for BuildingAddress[src]

impl Default for BuildingAddress[src]

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

impl Serialize for BuildingAddress[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,