#[non_exhaustive]pub struct MetricQueryValueBuilder { /* private fields */ }Expand description
A builder for MetricQueryValue.
Implementations§
source§impl MetricQueryValueBuilder
impl MetricQueryValueBuilder
sourcepub fn min(self, input: f64) -> Self
pub fn min(self, input: f64) -> Self
The minimum of the values of the all data points collected during the period.
sourcepub fn set_min(self, input: Option<f64>) -> Self
pub fn set_min(self, input: Option<f64>) -> Self
The minimum of the values of the all data points collected during the period.
sourcepub fn get_min(&self) -> &Option<f64>
pub fn get_min(&self) -> &Option<f64>
The minimum of the values of the all data points collected during the period.
sourcepub fn max(self, input: f64) -> Self
pub fn max(self, input: f64) -> Self
The maximum of the values of the all data points collected during the period.
sourcepub fn set_max(self, input: Option<f64>) -> Self
pub fn set_max(self, input: Option<f64>) -> Self
The maximum of the values of the all data points collected during the period.
sourcepub fn get_max(&self) -> &Option<f64>
pub fn get_max(&self) -> &Option<f64>
The maximum of the values of the all data points collected during the period.
sourcepub fn sum(self, input: f64) -> Self
pub fn sum(self, input: f64) -> Self
The sum of the values of the all data points collected during the period.
sourcepub fn set_sum(self, input: Option<f64>) -> Self
pub fn set_sum(self, input: Option<f64>) -> Self
The sum of the values of the all data points collected during the period.
sourcepub fn get_sum(&self) -> &Option<f64>
pub fn get_sum(&self) -> &Option<f64>
The sum of the values of the all data points collected during the period.
sourcepub fn avg(self, input: f64) -> Self
pub fn avg(self, input: f64) -> Self
The average of the values of the all data points collected during the period.
sourcepub fn set_avg(self, input: Option<f64>) -> Self
pub fn set_avg(self, input: Option<f64>) -> Self
The average of the values of the all data points collected during the period.
sourcepub fn get_avg(&self) -> &Option<f64>
pub fn get_avg(&self) -> &Option<f64>
The average of the values of the all data points collected during the period.
sourcepub fn std(self, input: f64) -> Self
pub fn std(self, input: f64) -> Self
The standard deviation of the values of the all data points collected during the period.
sourcepub fn set_std(self, input: Option<f64>) -> Self
pub fn set_std(self, input: Option<f64>) -> Self
The standard deviation of the values of the all data points collected during the period.
sourcepub fn get_std(&self) -> &Option<f64>
pub fn get_std(&self) -> &Option<f64>
The standard deviation of the values of the all data points collected during the period.
sourcepub fn p90(self, input: f64) -> Self
pub fn p90(self, input: f64) -> Self
The 90th percentile of the values of the all data points collected during the period.
sourcepub fn set_p90(self, input: Option<f64>) -> Self
pub fn set_p90(self, input: Option<f64>) -> Self
The 90th percentile of the values of the all data points collected during the period.
sourcepub fn get_p90(&self) -> &Option<f64>
pub fn get_p90(&self) -> &Option<f64>
The 90th percentile of the values of the all data points collected during the period.
sourcepub fn build(self) -> MetricQueryValue
pub fn build(self) -> MetricQueryValue
Consumes the builder and constructs a MetricQueryValue.
Trait Implementations§
source§impl Clone for MetricQueryValueBuilder
impl Clone for MetricQueryValueBuilder
source§fn clone(&self) -> MetricQueryValueBuilder
fn clone(&self) -> MetricQueryValueBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MetricQueryValueBuilder
impl Debug for MetricQueryValueBuilder
source§impl Default for MetricQueryValueBuilder
impl Default for MetricQueryValueBuilder
source§fn default() -> MetricQueryValueBuilder
fn default() -> MetricQueryValueBuilder
source§impl PartialEq for MetricQueryValueBuilder
impl PartialEq for MetricQueryValueBuilder
source§fn eq(&self, other: &MetricQueryValueBuilder) -> bool
fn eq(&self, other: &MetricQueryValueBuilder) -> bool
self and other values to be equal, and is used
by ==.