#[non_exhaustive]pub struct CostEstimationTimeRangeBuilder { /* private fields */ }
Expand description
A builder for CostEstimationTimeRange
.
Implementations§
source§impl CostEstimationTimeRangeBuilder
impl CostEstimationTimeRangeBuilder
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start time of the cost estimation.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start time of the cost estimation.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The start time of the cost estimation.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end time of the cost estimation.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The end time of the cost estimation.
sourcepub fn build(self) -> CostEstimationTimeRange
pub fn build(self) -> CostEstimationTimeRange
Consumes the builder and constructs a CostEstimationTimeRange
.
Trait Implementations§
source§impl Clone for CostEstimationTimeRangeBuilder
impl Clone for CostEstimationTimeRangeBuilder
source§fn clone(&self) -> CostEstimationTimeRangeBuilder
fn clone(&self) -> CostEstimationTimeRangeBuilder
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 CostEstimationTimeRangeBuilder
impl Default for CostEstimationTimeRangeBuilder
source§fn default() -> CostEstimationTimeRangeBuilder
fn default() -> CostEstimationTimeRangeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CostEstimationTimeRangeBuilder
impl PartialEq for CostEstimationTimeRangeBuilder
source§fn eq(&self, other: &CostEstimationTimeRangeBuilder) -> bool
fn eq(&self, other: &CostEstimationTimeRangeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CostEstimationTimeRangeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CostEstimationTimeRangeBuilder
impl Send for CostEstimationTimeRangeBuilder
impl Sync for CostEstimationTimeRangeBuilder
impl Unpin for CostEstimationTimeRangeBuilder
impl UnwindSafe for CostEstimationTimeRangeBuilder
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>
Creates a shared type from an unshared type.