[][src]Struct google_content2::HolidaysHoliday

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.

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]

impl Debug for HolidaysHoliday[src]

impl Default for HolidaysHoliday[src]

impl<'de> Deserialize<'de> for HolidaysHoliday[src]

impl Part for HolidaysHoliday[src]

impl Serialize for HolidaysHoliday[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any