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 ==
.