#[non_exhaustive]pub struct Tca {
pub identifier: String,
pub enabled: Option<bool>,
pub threshold: Option<String>,
pub threshold_24hrs: Option<String>,
}Expand description
A threshold crossing alert, tca <identifier> (enable-tca | no-enable-tca) (threshold <n> | threshold-24hrs <n>).
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.identifier: StringThe alert, e.g. "odu-bbe".
enabled: Option<bool>Some(true) for enable-tca, Some(false) for no-enable-tca.
threshold: Option<String>§threshold_24hrs: Option<String>Trait Implementations§
impl Eq for Tca
impl StructuralPartialEq for Tca
Auto Trait Implementations§
impl Forget for Tca
impl Freeze for Tca
impl Move for Tca
impl RefUnwindSafe for Tca
impl Send for Tcawhere
RawVecInner: Send,
impl Sync for Tcawhere
RawVecInner: Sync,
impl Unpin for Tca
impl UnsafeUnpin for Tca
impl UnwindSafe for Tcawhere
RawVecInner: UnwindSafe,
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