[][src]Struct google_content2::DeliveryTime

pub struct DeliveryTime {
    pub min_handling_time_in_days: Option<u32>,
    pub handling_business_day_config: Option<BusinessDayConfig>,
    pub max_handling_time_in_days: Option<u32>,
    pub transit_time_table: Option<TransitTable>,
    pub transit_business_day_config: Option<BusinessDayConfig>,
    pub cutoff_time: Option<CutoffTime>,
    pub max_transit_time_in_days: Option<u32>,
    pub min_transit_time_in_days: Option<u32>,
    pub holiday_cutoffs: Option<Vec<HolidayCutoff>>,
}

There is no detailed description.

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

Fields

min_handling_time_in_days: Option<u32>

Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped.

handling_business_day_config: Option<BusinessDayConfig>

The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.

max_handling_time_in_days: Option<u32>

Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to minHandlingTimeInDays.

transit_time_table: Option<TransitTable>

Transit time table, number of business days spent in transit based on row and column dimensions. Either {min,max}TransitTimeInDays or transitTimeTable can be set, but not both.

transit_business_day_config: Option<BusinessDayConfig>

The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed.

cutoff_time: Option<CutoffTime>

Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST.

max_transit_time_in_days: Option<u32>

Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to minTransitTimeInDays.

min_transit_time_in_days: Option<u32>

Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either {min,max}TransitTimeInDays or transitTimeTable must be set, but not both.

holiday_cutoffs: Option<Vec<HolidayCutoff>>

Holiday cutoff definitions. If configured, they specify order cutoff times for holiday-specific shipping.

Trait Implementations

impl Clone for DeliveryTime[src]

impl Debug for DeliveryTime[src]

impl Default for DeliveryTime[src]

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

impl Part for DeliveryTime[src]

impl Serialize for DeliveryTime[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, 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.

impl<T> Typeable for T where
    T: Any