pub trait ShippingDeliveryTimeTrait {
// Required methods
fn get_business_days(&self) -> &[BusinessDaysProperty];
fn take_business_days(&mut self) -> Vec<BusinessDaysProperty>;
fn get_cutoff_time(&self) -> &[CutoffTimeProperty];
fn take_cutoff_time(&mut self) -> Vec<CutoffTimeProperty>;
fn get_handling_time(&self) -> &[HandlingTimeProperty];
fn take_handling_time(&mut self) -> Vec<HandlingTimeProperty>;
fn get_transit_time(&self) -> &[TransitTimeProperty];
fn take_transit_time(&mut self) -> Vec<TransitTimeProperty>;
}
Expand description
This trait is for properties from https://schema.org/ShippingDeliveryTime.
Required Methods§
sourcefn get_business_days(&self) -> &[BusinessDaysProperty]
fn get_business_days(&self) -> &[BusinessDaysProperty]
Get https://schema.org/businessDays from Self
as borrowed slice.
sourcefn take_business_days(&mut self) -> Vec<BusinessDaysProperty>
fn take_business_days(&mut self) -> Vec<BusinessDaysProperty>
Take https://schema.org/businessDays from Self
as owned vector.
sourcefn get_cutoff_time(&self) -> &[CutoffTimeProperty]
fn get_cutoff_time(&self) -> &[CutoffTimeProperty]
Get https://schema.org/cutoffTime from Self
as borrowed slice.
sourcefn take_cutoff_time(&mut self) -> Vec<CutoffTimeProperty>
fn take_cutoff_time(&mut self) -> Vec<CutoffTimeProperty>
Take https://schema.org/cutoffTime from Self
as owned vector.
sourcefn get_handling_time(&self) -> &[HandlingTimeProperty]
fn get_handling_time(&self) -> &[HandlingTimeProperty]
Get https://schema.org/handlingTime from Self
as borrowed slice.
sourcefn take_handling_time(&mut self) -> Vec<HandlingTimeProperty>
fn take_handling_time(&mut self) -> Vec<HandlingTimeProperty>
Take https://schema.org/handlingTime from Self
as owned vector.
sourcefn get_transit_time(&self) -> &[TransitTimeProperty]
fn get_transit_time(&self) -> &[TransitTimeProperty]
Get https://schema.org/transitTime from Self
as borrowed slice.
sourcefn take_transit_time(&mut self) -> Vec<TransitTimeProperty>
fn take_transit_time(&mut self) -> Vec<TransitTimeProperty>
Take https://schema.org/transitTime from Self
as owned vector.