pub struct StatisticalThreshold {
pub statistic: Option<String>,
}Expand description
A statistical ranking (percentile) which indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior.
Fields§
§statistic: Option<String>The percentile which 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.
Trait Implementations§
Source§impl Clone for StatisticalThreshold
impl Clone for StatisticalThreshold
Source§fn clone(&self) -> StatisticalThreshold
fn clone(&self) -> StatisticalThreshold
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StatisticalThreshold
impl Debug for StatisticalThreshold
Source§impl Default for StatisticalThreshold
impl Default for StatisticalThreshold
Source§fn default() -> StatisticalThreshold
fn default() -> StatisticalThreshold
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatisticalThreshold
impl<'de> Deserialize<'de> for StatisticalThreshold
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StatisticalThreshold
impl PartialEq for StatisticalThreshold
Source§impl Serialize for StatisticalThreshold
impl Serialize for StatisticalThreshold
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
Mutably borrows from an owned value. Read more