#[non_exhaustive]pub struct InstanceEventWindowTimeRangeRequestBuilder { /* private fields */ }
Expand description
A builder for InstanceEventWindowTimeRangeRequest
.
Implementations§
source§impl InstanceEventWindowTimeRangeRequestBuilder
impl InstanceEventWindowTimeRangeRequestBuilder
sourcepub fn start_week_day(self, input: WeekDay) -> Self
pub fn start_week_day(self, input: WeekDay) -> Self
The day on which the time range begins.
sourcepub fn set_start_week_day(self, input: Option<WeekDay>) -> Self
pub fn set_start_week_day(self, input: Option<WeekDay>) -> Self
The day on which the time range begins.
sourcepub fn get_start_week_day(&self) -> &Option<WeekDay>
pub fn get_start_week_day(&self) -> &Option<WeekDay>
The day on which the time range begins.
sourcepub fn start_hour(self, input: i32) -> Self
pub fn start_hour(self, input: i32) -> Self
The hour when the time range begins.
sourcepub fn set_start_hour(self, input: Option<i32>) -> Self
pub fn set_start_hour(self, input: Option<i32>) -> Self
The hour when the time range begins.
sourcepub fn get_start_hour(&self) -> &Option<i32>
pub fn get_start_hour(&self) -> &Option<i32>
The hour when the time range begins.
sourcepub fn end_week_day(self, input: WeekDay) -> Self
pub fn end_week_day(self, input: WeekDay) -> Self
The day on which the time range ends.
sourcepub fn set_end_week_day(self, input: Option<WeekDay>) -> Self
pub fn set_end_week_day(self, input: Option<WeekDay>) -> Self
The day on which the time range ends.
sourcepub fn get_end_week_day(&self) -> &Option<WeekDay>
pub fn get_end_week_day(&self) -> &Option<WeekDay>
The day on which the time range ends.
sourcepub fn set_end_hour(self, input: Option<i32>) -> Self
pub fn set_end_hour(self, input: Option<i32>) -> Self
The hour when the time range ends.
sourcepub fn get_end_hour(&self) -> &Option<i32>
pub fn get_end_hour(&self) -> &Option<i32>
The hour when the time range ends.
sourcepub fn build(self) -> InstanceEventWindowTimeRangeRequest
pub fn build(self) -> InstanceEventWindowTimeRangeRequest
Consumes the builder and constructs a InstanceEventWindowTimeRangeRequest
.
Trait Implementations§
source§impl Clone for InstanceEventWindowTimeRangeRequestBuilder
impl Clone for InstanceEventWindowTimeRangeRequestBuilder
source§fn clone(&self) -> InstanceEventWindowTimeRangeRequestBuilder
fn clone(&self) -> InstanceEventWindowTimeRangeRequestBuilder
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 Default for InstanceEventWindowTimeRangeRequestBuilder
impl Default for InstanceEventWindowTimeRangeRequestBuilder
source§fn default() -> InstanceEventWindowTimeRangeRequestBuilder
fn default() -> InstanceEventWindowTimeRangeRequestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InstanceEventWindowTimeRangeRequestBuilder
impl PartialEq for InstanceEventWindowTimeRangeRequestBuilder
source§fn eq(&self, other: &InstanceEventWindowTimeRangeRequestBuilder) -> bool
fn eq(&self, other: &InstanceEventWindowTimeRangeRequestBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceEventWindowTimeRangeRequestBuilder
Auto Trait Implementations§
impl Freeze for InstanceEventWindowTimeRangeRequestBuilder
impl RefUnwindSafe for InstanceEventWindowTimeRangeRequestBuilder
impl Send for InstanceEventWindowTimeRangeRequestBuilder
impl Sync for InstanceEventWindowTimeRangeRequestBuilder
impl Unpin for InstanceEventWindowTimeRangeRequestBuilder
impl UnwindSafe for InstanceEventWindowTimeRangeRequestBuilder
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> 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 moreCreates a shared type from an unshared type.