Struct aws_sdk_iot::types::Statistics
source · #[non_exhaustive]pub struct Statistics {
pub count: i32,
pub average: Option<f64>,
pub sum: Option<f64>,
pub minimum: Option<f64>,
pub maximum: Option<f64>,
pub sum_of_squares: Option<f64>,
pub variance: Option<f64>,
pub std_deviation: Option<f64>,
}
Expand description
A map of key-value pairs for all supported statistics. For issues with missing or unexpected values for this API, consult Fleet indexing troubleshooting guide.
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.count: i32
The count of things that match the query string criteria and contain a valid aggregation field value.
average: Option<f64>
The average of the aggregated field values.
sum: Option<f64>
The sum of the aggregated field values.
minimum: Option<f64>
The minimum aggregated field value.
maximum: Option<f64>
The maximum aggregated field value.
sum_of_squares: Option<f64>
The sum of the squares of the aggregated field values.
variance: Option<f64>
The variance of the aggregated field values.
std_deviation: Option<f64>
The standard deviation of the aggregated field values.
Implementations§
source§impl Statistics
impl Statistics
sourcepub fn count(&self) -> i32
pub fn count(&self) -> i32
The count of things that match the query string criteria and contain a valid aggregation field value.
sourcepub fn sum_of_squares(&self) -> Option<f64>
pub fn sum_of_squares(&self) -> Option<f64>
The sum of the squares of the aggregated field values.
sourcepub fn std_deviation(&self) -> Option<f64>
pub fn std_deviation(&self) -> Option<f64>
The standard deviation of the aggregated field values.
source§impl Statistics
impl Statistics
sourcepub fn builder() -> StatisticsBuilder
pub fn builder() -> StatisticsBuilder
Creates a new builder-style object to manufacture Statistics
.
Trait Implementations§
source§impl Clone for Statistics
impl Clone for Statistics
source§fn clone(&self) -> Statistics
fn clone(&self) -> Statistics
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Statistics
impl Debug for Statistics
source§impl PartialEq for Statistics
impl PartialEq for Statistics
source§fn eq(&self, other: &Statistics) -> bool
fn eq(&self, other: &Statistics) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Statistics
Auto Trait Implementations§
impl Freeze for Statistics
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
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