Struct google_content2::api::HolidaysHoliday [−][src]
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.
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.
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.
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"
Trait Implementations
impl Clone for HolidaysHoliday[src]
fn clone(&self) -> HolidaysHoliday[src]
pub 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[src]
impl Send for HolidaysHoliday[src]
impl Sync for HolidaysHoliday[src]
impl Unpin for HolidaysHoliday[src]
impl UnwindSafe for HolidaysHoliday[src]
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,
pub 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> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[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.
pub fn to_owned(&self) -> T[src]
pub 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.
pub 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>,