#[non_exhaustive]pub struct SlotStartTimeRangeRequestBuilder { /* private fields */ }
Expand description
A builder for SlotStartTimeRangeRequest
.
Implementations§
source§impl SlotStartTimeRangeRequestBuilder
impl SlotStartTimeRangeRequestBuilder
sourcepub fn earliest_time(self, input: DateTime) -> Self
pub fn earliest_time(self, input: DateTime) -> Self
The earliest date and time, in UTC, for the Scheduled Instance to start.
sourcepub fn set_earliest_time(self, input: Option<DateTime>) -> Self
pub fn set_earliest_time(self, input: Option<DateTime>) -> Self
The earliest date and time, in UTC, for the Scheduled Instance to start.
sourcepub fn get_earliest_time(&self) -> &Option<DateTime>
pub fn get_earliest_time(&self) -> &Option<DateTime>
The earliest date and time, in UTC, for the Scheduled Instance to start.
sourcepub fn latest_time(self, input: DateTime) -> Self
pub fn latest_time(self, input: DateTime) -> Self
The latest date and time, in UTC, for the Scheduled Instance to start.
sourcepub fn set_latest_time(self, input: Option<DateTime>) -> Self
pub fn set_latest_time(self, input: Option<DateTime>) -> Self
The latest date and time, in UTC, for the Scheduled Instance to start.
sourcepub fn get_latest_time(&self) -> &Option<DateTime>
pub fn get_latest_time(&self) -> &Option<DateTime>
The latest date and time, in UTC, for the Scheduled Instance to start.
sourcepub fn build(self) -> SlotStartTimeRangeRequest
pub fn build(self) -> SlotStartTimeRangeRequest
Consumes the builder and constructs a SlotStartTimeRangeRequest
.
Trait Implementations§
source§impl Clone for SlotStartTimeRangeRequestBuilder
impl Clone for SlotStartTimeRangeRequestBuilder
source§fn clone(&self) -> SlotStartTimeRangeRequestBuilder
fn clone(&self) -> SlotStartTimeRangeRequestBuilder
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 SlotStartTimeRangeRequestBuilder
impl Default for SlotStartTimeRangeRequestBuilder
source§fn default() -> SlotStartTimeRangeRequestBuilder
fn default() -> SlotStartTimeRangeRequestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SlotStartTimeRangeRequestBuilder
impl PartialEq for SlotStartTimeRangeRequestBuilder
source§fn eq(&self, other: &SlotStartTimeRangeRequestBuilder) -> bool
fn eq(&self, other: &SlotStartTimeRangeRequestBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlotStartTimeRangeRequestBuilder
Auto Trait Implementations§
impl Freeze for SlotStartTimeRangeRequestBuilder
impl RefUnwindSafe for SlotStartTimeRangeRequestBuilder
impl Send for SlotStartTimeRangeRequestBuilder
impl Sync for SlotStartTimeRangeRequestBuilder
impl Unpin for SlotStartTimeRangeRequestBuilder
impl UnwindSafe for SlotStartTimeRangeRequestBuilder
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.