Struct google_content2::ProductShipping
source · pub struct ProductShipping {
pub location_id: Option<String>,
pub service: Option<String>,
pub postal_code: Option<String>,
pub country: Option<String>,
pub price: Option<Price>,
pub region: Option<String>,
pub location_group_name: Option<String>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§location_id: Option<String>The numeric id of a location that the shipping rate applies to as defined in the AdWords API.
service: Option<String>A free-form description of the service class or delivery speed.
postal_code: Option<String>The postal code range that the shipping rate applies to, represented by a postal code, a postal code prefix followed by a * wildcard, a range between two postal codes or two postal code prefixes of equal length.
country: Option<String>The CLDR territory code of the country to which an item will ship.
price: Option<Price>Fixed shipping price, represented as a number.
region: Option<String>The geographic region to which a shipping rate applies (e.g. zip code).
location_group_name: Option<String>The location where the shipping is applicable, represented by a location group name.
Trait Implementations§
source§impl Clone for ProductShipping
impl Clone for ProductShipping
source§fn clone(&self) -> ProductShipping
fn clone(&self) -> ProductShipping
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ProductShipping
impl Debug for ProductShipping
source§impl Default for ProductShipping
impl Default for ProductShipping
source§fn default() -> ProductShipping
fn default() -> ProductShipping
Returns the “default value” for a type. Read more
source§impl Deserialize for ProductShipping
impl Deserialize for ProductShipping
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ProductShipping
impl Serialize for ProductShipping
impl Part for ProductShipping
Auto Trait Implementations§
impl Freeze for ProductShipping
impl RefUnwindSafe for ProductShipping
impl Send for ProductShipping
impl Sync for ProductShipping
impl Unpin for ProductShipping
impl UnwindSafe for ProductShipping
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more