Struct google_content2::api::DeliveryTime [−][src]
pub struct DeliveryTime {
pub cutoff_time: Option<CutoffTime>,
pub handling_business_day_config: Option<BusinessDayConfig>,
pub holiday_cutoffs: Option<Vec<HolidayCutoff>>,
pub max_handling_time_in_days: Option<u32>,
pub max_transit_time_in_days: Option<u32>,
pub min_handling_time_in_days: Option<u32>,
pub min_transit_time_in_days: Option<u32>,
pub transit_business_day_config: Option<BusinessDayConfig>,
pub transit_time_table: Option<TransitTable>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
cutoff_time: Option<CutoffTime>Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST.
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.
holiday_cutoffs: Option<Vec<HolidayCutoff>>Holiday cutoff definitions. If configured, they specify order cutoff times for holiday-specific shipping.
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.
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_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.
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.
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.
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.
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 DeliveryTime
impl Send for DeliveryTime
impl Sync for DeliveryTime
impl Unpin for DeliveryTime
impl UnwindSafe for DeliveryTime
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more