Struct google_content2::RateGroup [] [src]

pub struct RateGroup {
    pub applicable_shipping_labels: Option<Vec<String>>,
    pub carrier_rates: Option<Vec<CarrierRate>>,
    pub single_value: Option<Value>,
    pub subtables: Option<Vec<Table>>,
    pub main_table: Option<Table>,
}

There is no detailed description.

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

Fields

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.

A list of carrier rates that can be referred to by mainTable or singleValue.

The value of the rate group (e.g. flat rate $10). Can only be set if mainTable and subtables are not set.

A list of subtables referred to by mainTable. Can only be set if mainTable is set.

A table defining the rate group, when singleValue is not expressive enough. Can only be set if singleValue is not set.

Trait Implementations

impl Default for RateGroup
[src]

Returns the "default value" for a type. Read more

impl Clone for RateGroup
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RateGroup
[src]

Formats the value using the given formatter.

impl Part for RateGroup
[src]