#[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 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 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<CostEstimationTimeRangeBuilder> for CostEstimationTimeRangeBuilder
impl PartialEq<CostEstimationTimeRangeBuilder> 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 ==
.