[][src]Struct google_reseller1_sandbox::Address

pub struct Address {
    pub kind: Option<String>,
    pub organization_name: Option<String>,
    pub country_code: Option<String>,
    pub locality: Option<String>,
    pub region: Option<String>,
    pub address_line2: Option<String>,
    pub address_line3: Option<String>,
    pub contact_name: Option<String>,
    pub address_line1: Option<String>,
    pub postal_code: Option<String>,
}

JSON template for address of a customer.

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

Fields

kind: Option<String>

Identifies the resource as a customer address.

organization_name: Option<String>

Name of the organization.

country_code: Option<String>

ISO 3166 country code.

locality: Option<String>

Name of the locality. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.

region: Option<String>

Name of the region. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.

address_line2: Option<String>

Address line 2 of the address.

address_line3: Option<String>

Address line 3 of the address.

contact_name: Option<String>

Name of the contact person.

address_line1: Option<String>

Address line 1 of the address.

postal_code: Option<String>

The postal code. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.

Trait Implementations

impl Part for Address[src]

impl Default for Address[src]

impl Clone for 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]

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

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]

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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