Struct google_content2::api::ShippingSettings[][src]

pub struct ShippingSettings {
    pub account_id: Option<String>,
    pub postal_code_groups: Option<Vec<PostalCodeGroup>>,
    pub services: Option<Vec<Service>>,
}

The merchant account’s shipping settings. All methods except getsupportedcarriers and getsupportedholidays require the admin role.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

account_id: Option<String>

The ID of the account to which these account shipping settings belong. Ignored upon update, always present in get request responses.

postal_code_groups: Option<Vec<PostalCodeGroup>>

A list of postal code groups that can be referred to in services. Optional.

services: Option<Vec<Service>>

The target account’s list of services. Optional.

Trait Implementations

impl Clone for ShippingSettings[src]

impl Debug for ShippingSettings[src]

impl Default for ShippingSettings[src]

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

impl RequestValue for ShippingSettings[src]

impl ResponseResult for ShippingSettings[src]

impl Serialize for ShippingSettings[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> Instrument 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.