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>,
}
Expand description

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.