[−][src]Struct google_content2::RateGroup
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
applicable_shipping_labels: Option<Vec<String>>A list of shipping labels defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service. Required.
carrier_rates: Option<Vec<CarrierRate>>A list of carrier rates that can be referred to by mainTable or singleValue.
main_table: Option<Table>A table defining the rate group, when singleValue is not expressive enough. Can only be set if singleValue is not set.
name: Option<String>Name of the rate group. Optional. If set has to be unique within shipping service.
single_value: Option<Value>The value of the rate group (e.g. flat rate $10). Can only be set if mainTable and subtables are not set.
subtables: Option<Vec<Table>>A list of subtables referred to by mainTable. Can only be set if mainTable is set.
Trait Implementations
impl Clone for RateGroup[src]
impl Debug for RateGroup[src]
impl Default for RateGroup[src]
impl<'de> Deserialize<'de> for RateGroup[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for RateGroup[src]
impl Serialize for RateGroup[src]
Auto Trait Implementations
impl RefUnwindSafe for RateGroup
impl Send for RateGroup
impl Sync for RateGroup
impl Unpin for RateGroup
impl UnwindSafe for RateGroup
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Typeable for T where
T: Any,
T: Any,