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>>,
}Expand description
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).
- get shippingsettings (response)
- update shippingsettings (request|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
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ShippingSettings
impl Send for ShippingSettings
impl Sync for ShippingSettings
impl Unpin for ShippingSettings
impl UnwindSafe for ShippingSettings
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more