#[non_exhaustive]pub struct HistoricalMetricDataBuilder { /* private fields */ }
Expand description
A builder for HistoricalMetricData
.
Implementations§
source§impl HistoricalMetricDataBuilder
impl HistoricalMetricDataBuilder
sourcepub fn metric(self, input: HistoricalMetric) -> Self
pub fn metric(self, input: HistoricalMetric) -> Self
Information about the metric.
sourcepub fn set_metric(self, input: Option<HistoricalMetric>) -> Self
pub fn set_metric(self, input: Option<HistoricalMetric>) -> Self
Information about the metric.
sourcepub fn build(self) -> HistoricalMetricData
pub fn build(self) -> HistoricalMetricData
Consumes the builder and constructs a HistoricalMetricData
.
Trait Implementations§
source§impl Clone for HistoricalMetricDataBuilder
impl Clone for HistoricalMetricDataBuilder
source§fn clone(&self) -> HistoricalMetricDataBuilder
fn clone(&self) -> HistoricalMetricDataBuilder
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 Debug for HistoricalMetricDataBuilder
impl Debug for HistoricalMetricDataBuilder
source§impl Default for HistoricalMetricDataBuilder
impl Default for HistoricalMetricDataBuilder
source§fn default() -> HistoricalMetricDataBuilder
fn default() -> HistoricalMetricDataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<HistoricalMetricDataBuilder> for HistoricalMetricDataBuilder
impl PartialEq<HistoricalMetricDataBuilder> for HistoricalMetricDataBuilder
source§fn eq(&self, other: &HistoricalMetricDataBuilder) -> bool
fn eq(&self, other: &HistoricalMetricDataBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.