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 ==.impl StructuralPartialEq for Aggregates
Auto Trait Implementations§
impl Freeze for Aggregates
impl RefUnwindSafe for Aggregates
impl Send for Aggregates
impl Sync for Aggregates
impl Unpin for Aggregates
impl UnwindSafe for Aggregates
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