[−][src]Struct google_content2::HolidaysHoliday
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.
Acceptable values are:
- "
Christmas
" - "
Easter
" - "
Father's Day
" - "
Halloween
" - "
Independence Day (USA)
" - "
Mother's Day
" - "
Thanksgiving
" - "
Valentine's Day
"
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 Clone for HolidaysHoliday
[src]
fn clone(&self) -> HolidaysHoliday
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for HolidaysHoliday
[src]
impl Default for HolidaysHoliday
[src]
fn default() -> HolidaysHoliday
[src]
impl<'de> Deserialize<'de> for HolidaysHoliday
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for HolidaysHoliday
[src]
impl Serialize for HolidaysHoliday
[src]
Auto Trait Implementations
impl RefUnwindSafe for HolidaysHoliday
impl Send for HolidaysHoliday
impl Sync for HolidaysHoliday
impl Unpin for HolidaysHoliday
impl UnwindSafe for HolidaysHoliday
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,