[][src]Struct google_admin1_directory::CustomerPostalAddress

pub struct CustomerPostalAddress {
    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 postal address of a customer.

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

Fields

organization_name: Option<String>

The company or company division name.

country_code: Option<String>

This is a required property. For countryCode information see the ISO 3166 country code elements.

locality: Option<String>

Name of the locality. An example of a locality value is the city of San Francisco.

region: Option<String>

Name of the region. An example of a region value is NY for the state of New York.

address_line2: Option<String>

Address line 2 of the address.

address_line3: Option<String>

Address line 3 of the address.

contact_name: Option<String>

The customer contact's name.

address_line1: Option<String>

A customer's physical address. The address can be composed of one to three lines.

postal_code: Option<String>

The postal code. A postalCode example is a postal zip code such as 10009. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.

Trait Implementations

impl Clone for CustomerPostalAddress[src]

impl Debug for CustomerPostalAddress[src]

impl Default for CustomerPostalAddress[src]

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

impl Part for CustomerPostalAddress[src]

impl Serialize for CustomerPostalAddress[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> Typeable for T where
    T: Any