Struct google_content2::api::HolidayCutoff
source · pub struct HolidayCutoff {
pub deadline_date: Option<String>,
pub deadline_hour: Option<u32>,
pub deadline_timezone: Option<String>,
pub holiday_id: Option<String>,
pub visible_from_date: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§deadline_date: Option<String>
Date of the order deadline, in ISO 8601 format. E.g. “2016-11-29” for 29th November 2016. Required.
deadline_hour: Option<u32>
Hour of the day on the deadline date until which the order has to be placed to qualify for the delivery guarantee. Possible values are: 0 (midnight), 1, …, 12 (noon), 13, …, 23. Required.
deadline_timezone: Option<String>
Timezone identifier for the deadline hour. A list of identifiers can be found in the AdWords API documentation. E.g. “Europe/Zurich”. Required.
holiday_id: Option<String>
Unique identifier for the holiday. Required.
visible_from_date: Option<String>
Date on which the deadline will become visible to consumers in ISO 8601 format. E.g. “2016-10-31” for 31st October 2016. Required.
Trait Implementations§
source§impl Clone for HolidayCutoff
impl Clone for HolidayCutoff
source§fn clone(&self) -> HolidayCutoff
fn clone(&self) -> HolidayCutoff
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HolidayCutoff
impl Debug for HolidayCutoff
source§impl Default for HolidayCutoff
impl Default for HolidayCutoff
source§fn default() -> HolidayCutoff
fn default() -> HolidayCutoff
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HolidayCutoff
impl<'de> Deserialize<'de> for HolidayCutoff
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for HolidayCutoff
impl Serialize for HolidayCutoff
impl Part for HolidayCutoff
Auto Trait Implementations§
impl Freeze for HolidayCutoff
impl RefUnwindSafe for HolidayCutoff
impl Send for HolidayCutoff
impl Sync for HolidayCutoff
impl Unpin for HolidayCutoff
impl UnwindSafe for HolidayCutoff
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more