Struct google_content2::HolidaysHoliday [−][src]
pub struct HolidaysHoliday { pub country_code: Option<String>, pub date: Option<String>, pub id: Option<String>, pub type_: Option<String>, pub delivery_guarantee_hour: Option<String>, pub delivery_guarantee_date: Option<String>, }
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
country_code: Option<String>
The CLDR territory code of the country in which the holiday is available. E.g. "US", "DE", "GB". A holiday cutoff can only be configured in a shipping settings service with matching delivery country. Always present.
date: Option<String>
Date of the holiday, in ISO 8601 format. E.g. "2016-12-25" for Christmas 2016. Always present.
id: Option<String>
Unique identifier for the holiday to be used when configuring holiday cutoffs. Always present.
type_: Option<String>
The holiday type. Always present.
delivery_guarantee_hour: Option<String>
Hour of the day in the delivery location's timezone on the guaranteed delivery date by which the order has to arrive at the customer's. Possible values are: 0 (midnight), 1, ..., 12 (noon), 13, ..., 23. Always present.
delivery_guarantee_date: Option<String>
Date on which the order has to arrive at the customer's, in ISO 8601 format. E.g. "2016-12-24" for 24th December 2016. Always present.
Trait Implementations
impl Default for HolidaysHoliday
[src]
impl Default for HolidaysHoliday
fn default() -> HolidaysHoliday
[src]
fn default() -> HolidaysHoliday
Returns the "default value" for a type. Read more
impl Clone for HolidaysHoliday
[src]
impl Clone for HolidaysHoliday
fn clone(&self) -> HolidaysHoliday
[src]
fn clone(&self) -> HolidaysHoliday
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for HolidaysHoliday
[src]
impl Debug for HolidaysHoliday
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for HolidaysHoliday
[src]
impl Part for HolidaysHoliday
Auto Trait Implementations
impl Send for HolidaysHoliday
impl Send for HolidaysHoliday
impl Sync for HolidaysHoliday
impl Sync for HolidaysHoliday