Struct aws_sdk_iotsitewise::types::Aggregates
source · #[non_exhaustive]pub struct Aggregates {
pub average: Option<f64>,
pub count: Option<f64>,
pub maximum: Option<f64>,
pub minimum: Option<f64>,
pub sum: Option<f64>,
pub standard_deviation: Option<f64>,
}Expand description
Contains the (pre-calculated) aggregate values for an asset property.
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.average: Option<f64>The average (mean) value of the time series over a time interval window.
count: Option<f64>The count of data points in the time series over a time interval window.
maximum: Option<f64>The maximum value of the time series over a time interval window.
minimum: Option<f64>The minimum value of the time series over a time interval window.
sum: Option<f64>The sum of the time series over a time interval window.
standard_deviation: Option<f64>The standard deviation of the time series over a time interval window.
Implementations§
source§impl Aggregates
impl Aggregates
sourcepub fn average(&self) -> Option<f64>
pub fn average(&self) -> Option<f64>
The average (mean) value of the time series over a time interval window.
sourcepub fn count(&self) -> Option<f64>
pub fn count(&self) -> Option<f64>
The count of data points in the time series over a time interval window.
sourcepub fn maximum(&self) -> Option<f64>
pub fn maximum(&self) -> Option<f64>
The maximum value of the time series over a time interval window.
sourcepub fn minimum(&self) -> Option<f64>
pub fn minimum(&self) -> Option<f64>
The minimum value of the time series over a time interval window.
sourcepub fn standard_deviation(&self) -> Option<f64>
pub fn standard_deviation(&self) -> Option<f64>
The standard deviation of the time series over a time interval window.
source§impl Aggregates
impl Aggregates
sourcepub fn builder() -> AggregatesBuilder
pub fn builder() -> AggregatesBuilder
Creates a new builder-style object to manufacture Aggregates.
Trait Implementations§
source§impl Clone for Aggregates
impl Clone for Aggregates
source§fn clone(&self) -> Aggregates
fn clone(&self) -> Aggregates
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Aggregates
impl Debug for Aggregates
source§impl PartialEq for Aggregates
impl PartialEq for Aggregates
source§fn eq(&self, other: &Aggregates) -> bool
fn eq(&self, other: &Aggregates) -> bool
self and other values to be equal, and is used
by ==.