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
formatted_type: Option<String>
The read-only type of the address translated and formatted in the viewer's
account locale or the Accept-Language
HTTP header locale.
country_code: Option<String>
The ISO 3166-1 alpha-2 country code of the address.
city: Option<String>
The city of the address.
formatted_value: Option<String>
The unstructured value of the address. If this is not set by the user it will be automatically constructed from structured values.
region: Option<String>
The region of the address; for example, the state or province.
po_box: Option<String>
The P.O. box of the address.
street_address: Option<String>
The street address.
country: Option<String>
The country of the address.
postal_code: Option<String>
The postal code of the address.
extended_address: Option<String>
The extended address of the address; for example, the apartment number.
type_: Option<String>
The type of the address. The type can be custom or one of these predefined values:
home
work
other
metadata: Option<FieldMetadata>
Metadata about the address.
Trait Implementations
impl Default for Address
[src]
impl Default for Address
impl Clone for Address
[src]
impl Clone for Address
fn clone(&self) -> Address
[src]
fn clone(&self) -> Address
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Address
[src]
impl Debug for Address
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for Address
[src]
impl Part for Address