Struct google_admin1_directory::CustomerPostalAddress [−][src]
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 Default for CustomerPostalAddress
[src]
impl Default for CustomerPostalAddress
fn default() -> CustomerPostalAddress
[src]
fn default() -> CustomerPostalAddress
Returns the "default value" for a type. Read more
impl Clone for CustomerPostalAddress
[src]
impl Clone for CustomerPostalAddress
fn clone(&self) -> CustomerPostalAddress
[src]
fn clone(&self) -> CustomerPostalAddress
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 CustomerPostalAddress
[src]
impl Debug for CustomerPostalAddress
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 CustomerPostalAddress
[src]
impl Part for CustomerPostalAddress
Auto Trait Implementations
impl Send for CustomerPostalAddress
impl Send for CustomerPostalAddress
impl Sync for CustomerPostalAddress
impl Sync for CustomerPostalAddress