#[non_exhaustive]pub struct InstanceEventWindowTimeRangeBuilder { /* private fields */ }
Expand description
A builder for InstanceEventWindowTimeRange
.
Implementations§
source§impl InstanceEventWindowTimeRangeBuilder
impl InstanceEventWindowTimeRangeBuilder
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) -> InstanceEventWindowTimeRange
pub fn build(self) -> InstanceEventWindowTimeRange
Consumes the builder and constructs a InstanceEventWindowTimeRange
.
Trait Implementations§
source§impl Clone for InstanceEventWindowTimeRangeBuilder
impl Clone for InstanceEventWindowTimeRangeBuilder
source§fn clone(&self) -> InstanceEventWindowTimeRangeBuilder
fn clone(&self) -> InstanceEventWindowTimeRangeBuilder
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 InstanceEventWindowTimeRangeBuilder
impl Default for InstanceEventWindowTimeRangeBuilder
source§fn default() -> InstanceEventWindowTimeRangeBuilder
fn default() -> InstanceEventWindowTimeRangeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<InstanceEventWindowTimeRangeBuilder> for InstanceEventWindowTimeRangeBuilder
impl PartialEq<InstanceEventWindowTimeRangeBuilder> for InstanceEventWindowTimeRangeBuilder
source§fn eq(&self, other: &InstanceEventWindowTimeRangeBuilder) -> bool
fn eq(&self, other: &InstanceEventWindowTimeRangeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceEventWindowTimeRangeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for InstanceEventWindowTimeRangeBuilder
impl Send for InstanceEventWindowTimeRangeBuilder
impl Sync for InstanceEventWindowTimeRangeBuilder
impl Unpin for InstanceEventWindowTimeRangeBuilder
impl UnwindSafe for InstanceEventWindowTimeRangeBuilder
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