Struct aws_sdk_iotwireless::types::MetricQueryValue
source · #[non_exhaustive]pub struct MetricQueryValue {
pub min: Option<f64>,
pub max: Option<f64>,
pub sum: Option<f64>,
pub avg: Option<f64>,
pub std: Option<f64>,
pub p90: Option<f64>,
}
Expand description
The aggregated values of the metric.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.min: Option<f64>
The minimum of the values of all data points collected during the aggregation period.
max: Option<f64>
The maximum of the values of all the data points collected during the aggregation period.
sum: Option<f64>
The sum of the values of all data points collected during the aggregation period.
avg: Option<f64>
The average of the values of all data points collected during the aggregation period.
std: Option<f64>
The standard deviation of the values of all data points collected during the aggregation period.
p90: Option<f64>
The 90th percentile of the values of all data points collected during the aggregation period.
Implementations§
source§impl MetricQueryValue
impl MetricQueryValue
sourcepub fn min(&self) -> Option<f64>
pub fn min(&self) -> Option<f64>
The minimum of the values of all data points collected during the aggregation period.
sourcepub fn max(&self) -> Option<f64>
pub fn max(&self) -> Option<f64>
The maximum of the values of all the data points collected during the aggregation period.
sourcepub fn sum(&self) -> Option<f64>
pub fn sum(&self) -> Option<f64>
The sum of the values of all data points collected during the aggregation period.
sourcepub fn avg(&self) -> Option<f64>
pub fn avg(&self) -> Option<f64>
The average of the values of all data points collected during the aggregation period.
source§impl MetricQueryValue
impl MetricQueryValue
sourcepub fn builder() -> MetricQueryValueBuilder
pub fn builder() -> MetricQueryValueBuilder
Creates a new builder-style object to manufacture MetricQueryValue
.
Trait Implementations§
source§impl Clone for MetricQueryValue
impl Clone for MetricQueryValue
source§fn clone(&self) -> MetricQueryValue
fn clone(&self) -> MetricQueryValue
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MetricQueryValue
impl Debug for MetricQueryValue
source§impl PartialEq for MetricQueryValue
impl PartialEq for MetricQueryValue
source§fn eq(&self, other: &MetricQueryValue) -> bool
fn eq(&self, other: &MetricQueryValue) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MetricQueryValue
Auto Trait Implementations§
impl Freeze for MetricQueryValue
impl RefUnwindSafe for MetricQueryValue
impl Send for MetricQueryValue
impl Sync for MetricQueryValue
impl Unpin for MetricQueryValue
impl UnwindSafe for MetricQueryValue
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