pub struct DayAndTimeAssignedTargetingOptionDetails {
pub day_of_week: Option<String>,
pub end_hour: Option<i32>,
pub start_hour: Option<i32>,
pub time_zone_resolution: Option<String>,
}
Expand description
Representation of a segment of time defined on a specific day of the week and with a start and end time. The time represented by start_hour
must be before the time represented by end_hour
.
This type is not used in any activity, and only used as part of another schema.
Fields§
§day_of_week: Option<String>
Required. The day of the week for this day and time targeting setting.
end_hour: Option<i32>
Required. The end hour for day and time targeting. Must be between 1 (1 hour after start of day) and 24 (end of day).
start_hour: Option<i32>
Required. The start hour for day and time targeting. Must be between 0 (start of day) and 23 (1 hour before end of day).
time_zone_resolution: Option<String>
Required. The mechanism used to determine which timezone to use for this day and time targeting setting.
Trait Implementations§
Source§impl Clone for DayAndTimeAssignedTargetingOptionDetails
impl Clone for DayAndTimeAssignedTargetingOptionDetails
Source§fn clone(&self) -> DayAndTimeAssignedTargetingOptionDetails
fn clone(&self) -> DayAndTimeAssignedTargetingOptionDetails
Returns a duplicate 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 Default for DayAndTimeAssignedTargetingOptionDetails
impl Default for DayAndTimeAssignedTargetingOptionDetails
Source§fn default() -> DayAndTimeAssignedTargetingOptionDetails
fn default() -> DayAndTimeAssignedTargetingOptionDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DayAndTimeAssignedTargetingOptionDetails
impl<'de> Deserialize<'de> for DayAndTimeAssignedTargetingOptionDetails
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
impl Part for DayAndTimeAssignedTargetingOptionDetails
Auto Trait Implementations§
impl Freeze for DayAndTimeAssignedTargetingOptionDetails
impl RefUnwindSafe for DayAndTimeAssignedTargetingOptionDetails
impl Send for DayAndTimeAssignedTargetingOptionDetails
impl Sync for DayAndTimeAssignedTargetingOptionDetails
impl Unpin for DayAndTimeAssignedTargetingOptionDetails
impl UnwindSafe for DayAndTimeAssignedTargetingOptionDetails
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§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