Struct aws_sdk_connect::types::Threshold
source · #[non_exhaustive]pub struct Threshold {
pub comparison: Option<Comparison>,
pub threshold_value: Option<f64>,
}
Expand description
Contains information about the threshold for service level metrics.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.comparison: Option<Comparison>
The type of comparison. Only "less than" (LT) comparisons are supported.
threshold_value: Option<f64>
The threshold value to compare.
Implementations§
source§impl Threshold
impl Threshold
sourcepub fn comparison(&self) -> Option<&Comparison>
pub fn comparison(&self) -> Option<&Comparison>
The type of comparison. Only "less than" (LT) comparisons are supported.
sourcepub fn threshold_value(&self) -> Option<f64>
pub fn threshold_value(&self) -> Option<f64>
The threshold value to compare.
Trait Implementations§
source§impl PartialEq<Threshold> for Threshold
impl PartialEq<Threshold> for Threshold
impl StructuralPartialEq for Threshold
Auto Trait Implementations§
impl RefUnwindSafe for Threshold
impl Send for Threshold
impl Sync for Threshold
impl Unpin for Threshold
impl UnwindSafe for Threshold
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