[][src]Struct google_content2::OrderAddress

pub struct OrderAddress {
    pub locality: Option<String>,
    pub country: Option<String>,
    pub full_address: Option<Vec<String>>,
    pub street_address: Option<Vec<String>>,
    pub postal_code: Option<String>,
    pub recipient_name: Option<String>,
    pub is_post_office_box: Option<bool>,
    pub region: Option<String>,
}

There is no detailed description.

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

Fields

locality: Option<String>

City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).

country: Option<String>

CLDR country code (e.g. "US").

full_address: Option<Vec<String>>

Strings representing the lines of the printed label for mailing the order, for example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United States

street_address: Option<Vec<String>>

Street-level part of the address.

postal_code: Option<String>

Postal Code or ZIP (e.g. "94043").

recipient_name: Option<String>

Name of the recipient.

is_post_office_box: Option<bool>

Whether the address is a post office box.

region: Option<String>

Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC").

Trait Implementations

impl Part for OrderAddress[src]

impl Default for OrderAddress[src]

impl Clone for OrderAddress[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for OrderAddress[src]

impl Serialize for OrderAddress[src]

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

Auto Trait Implementations

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]