Struct google_people1::Address[][src]

pub struct Address {
    pub formatted_type: Option<String>,
    pub country_code: Option<String>,
    pub city: Option<String>,
    pub formatted_value: Option<String>,
    pub region: Option<String>,
    pub po_box: Option<String>,
    pub street_address: Option<String>,
    pub country: Option<String>,
    pub postal_code: Option<String>,
    pub extended_address: Option<String>,
    pub type_: Option<String>,
    pub metadata: Option<FieldMetadata>,
}

A person's physical address. May be a P.O. box or street address. All fields are optional.

This type is not used in any activity, and only used as part of another schema.

Fields

The read-only type of the address translated and formatted in the viewer's account locale or the Accept-Language HTTP header locale.

The ISO 3166-1 alpha-2 country code of the address.

The city of the address.

The unstructured value of the address. If this is not set by the user it will be automatically constructed from structured values.

The region of the address; for example, the state or province.

The P.O. box of the address.

The street address.

The country of the address.

The postal code of the address.

The extended address of the address; for example, the apartment number.

The type of the address. The type can be custom or one of these predefined values:

  • home
  • work
  • other

Metadata about the address.

Trait Implementations

impl Default for Address
[src]

Returns the "default value" for a type. Read more

impl Clone for Address
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Address
[src]

Formats the value using the given formatter. Read more

impl Part for Address
[src]

Auto Trait Implementations

impl Send for Address

impl Sync for Address