[−][src]Struct google_people1::Address
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
city: Option<String>
The city of the address.
country_code: Option<String>
The ISO 3166-1 alpha-2 country code of the address.
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.
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 Part for Address
[src]
impl Default for Address
[src]
impl Clone for Address
[src]
fn clone(&self) -> Address
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Address
[src]
impl Serialize for Address
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Address
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Address
impl Unpin for Address
impl Sync for Address
impl UnwindSafe for Address
impl RefUnwindSafe for Address
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,