#[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 all data points collected during the aggregation 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 all data points collected during the aggregation period.
sourcepub fn get_min(&self) -> &Option<f64>
pub fn get_min(&self) -> &Option<f64>
The minimum of the values of all data points collected during the aggregation period.
sourcepub fn max(self, input: f64) -> Self
pub fn max(self, input: f64) -> Self
The maximum of the values of all the data points collected during the aggregation 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 all the data points collected during the aggregation period.
sourcepub fn get_max(&self) -> &Option<f64>
pub fn get_max(&self) -> &Option<f64>
The maximum of the values of all the data points collected during the aggregation period.
sourcepub fn sum(self, input: f64) -> Self
pub fn sum(self, input: f64) -> Self
The sum of the values of all data points collected during the aggregation 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 all data points collected during the aggregation period.
sourcepub fn get_sum(&self) -> &Option<f64>
pub fn get_sum(&self) -> &Option<f64>
The sum of the values of all data points collected during the aggregation period.
sourcepub fn avg(self, input: f64) -> Self
pub fn avg(self, input: f64) -> Self
The average of the values of all data points collected during the aggregation 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 all data points collected during the aggregation period.
sourcepub fn get_avg(&self) -> &Option<f64>
pub fn get_avg(&self) -> &Option<f64>
The average of the values of all data points collected during the aggregation period.
sourcepub fn std(self, input: f64) -> Self
pub fn std(self, input: f64) -> Self
The standard deviation of the values of all data points collected during the aggregation 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 all data points collected during the aggregation period.
sourcepub fn get_std(&self) -> &Option<f64>
pub fn get_std(&self) -> &Option<f64>
The standard deviation of the values of all data points collected during the aggregation period.
sourcepub fn p90(self, input: f64) -> Self
pub fn p90(self, input: f64) -> Self
The 90th percentile of the values of all data points collected during the aggregation 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 all data points collected during the aggregation period.
sourcepub fn get_p90(&self) -> &Option<f64>
pub fn get_p90(&self) -> &Option<f64>
The 90th percentile of the values of all data points collected during the aggregation 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 ==
.impl StructuralPartialEq for MetricQueryValueBuilder
Auto Trait Implementations§
impl Freeze for MetricQueryValueBuilder
impl RefUnwindSafe for MetricQueryValueBuilder
impl Send for MetricQueryValueBuilder
impl Sync for MetricQueryValueBuilder
impl Unpin for MetricQueryValueBuilder
impl UnwindSafe for MetricQueryValueBuilder
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
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>
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>
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 more