Struct aws_sdk_iot::types::StatisticalThreshold
source · #[non_exhaustive]pub struct StatisticalThreshold {
pub statistic: Option<String>,
}
Expand description
A statistical ranking (percentile) that indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior.
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.statistic: Option<String>
The percentile that resolves to a threshold value by which compliance with a behavior is determined. Metrics are collected over the specified period (durationSeconds
) from all reporting devices in your account and statistical ranks are calculated. Then, the measurements from a device are collected over the same period. If the accumulated measurements from the device fall above or below (comparisonOperator
) the value associated with the percentile specified, then the device is considered to be in compliance with the behavior, otherwise a violation occurs.
Implementations§
source§impl StatisticalThreshold
impl StatisticalThreshold
sourcepub fn statistic(&self) -> Option<&str>
pub fn statistic(&self) -> Option<&str>
The percentile that resolves to a threshold value by which compliance with a behavior is determined. Metrics are collected over the specified period (durationSeconds
) from all reporting devices in your account and statistical ranks are calculated. Then, the measurements from a device are collected over the same period. If the accumulated measurements from the device fall above or below (comparisonOperator
) the value associated with the percentile specified, then the device is considered to be in compliance with the behavior, otherwise a violation occurs.
source§impl StatisticalThreshold
impl StatisticalThreshold
sourcepub fn builder() -> StatisticalThresholdBuilder
pub fn builder() -> StatisticalThresholdBuilder
Creates a new builder-style object to manufacture StatisticalThreshold
.
Trait Implementations§
source§impl Clone for StatisticalThreshold
impl Clone for StatisticalThreshold
source§fn clone(&self) -> StatisticalThreshold
fn clone(&self) -> StatisticalThreshold
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StatisticalThreshold
impl Debug for StatisticalThreshold
source§impl PartialEq for StatisticalThreshold
impl PartialEq for StatisticalThreshold
source§fn eq(&self, other: &StatisticalThreshold) -> bool
fn eq(&self, other: &StatisticalThreshold) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StatisticalThreshold
Auto Trait Implementations§
impl Freeze for StatisticalThreshold
impl RefUnwindSafe for StatisticalThreshold
impl Send for StatisticalThreshold
impl Sync for StatisticalThreshold
impl Unpin for StatisticalThreshold
impl UnwindSafe for StatisticalThreshold
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