pub struct ThresholdsUpdate {
pub upper_caution: Option<ThresholdUpdate>,
pub upper_critical: Option<ThresholdUpdate>,
pub upper_fatal: Option<ThresholdUpdate>,
pub lower_caution: Option<ThresholdUpdate>,
pub lower_critical: Option<ThresholdUpdate>,
pub lower_fatal: Option<ThresholdUpdate>,
pub upper_caution_user: Option<ThresholdUpdate>,
pub upper_critical_user: Option<ThresholdUpdate>,
pub lower_caution_user: Option<ThresholdUpdate>,
pub lower_critical_user: Option<ThresholdUpdate>,
}Expand description
Update struct corresponding to Thresholds
Fields§
§upper_caution: Option<ThresholdUpdate>§upper_critical: Option<ThresholdUpdate>§upper_fatal: Option<ThresholdUpdate>§lower_caution: Option<ThresholdUpdate>§lower_critical: Option<ThresholdUpdate>§lower_fatal: Option<ThresholdUpdate>§upper_caution_user: Option<ThresholdUpdate>§upper_critical_user: Option<ThresholdUpdate>§lower_caution_user: Option<ThresholdUpdate>§lower_critical_user: Option<ThresholdUpdate>Implementations§
Source§impl ThresholdsUpdate
impl ThresholdsUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_upper_caution(self, v: ThresholdUpdate) -> Self
pub fn with_upper_critical(self, v: ThresholdUpdate) -> Self
pub fn with_upper_fatal(self, v: ThresholdUpdate) -> Self
pub fn with_lower_caution(self, v: ThresholdUpdate) -> Self
pub fn with_lower_critical(self, v: ThresholdUpdate) -> Self
pub fn with_lower_fatal(self, v: ThresholdUpdate) -> Self
pub fn with_upper_caution_user(self, v: ThresholdUpdate) -> Self
pub fn with_upper_critical_user(self, v: ThresholdUpdate) -> Self
pub fn with_lower_caution_user(self, v: ThresholdUpdate) -> Self
pub fn with_lower_critical_user(self, v: ThresholdUpdate) -> Self
Trait Implementations§
Source§impl Debug for ThresholdsUpdate
impl Debug for ThresholdsUpdate
Source§impl Default for ThresholdsUpdate
impl Default for ThresholdsUpdate
Source§fn default() -> ThresholdsUpdate
fn default() -> ThresholdsUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ThresholdsUpdate
impl RefUnwindSafe for ThresholdsUpdate
impl Send for ThresholdsUpdate
impl Sync for ThresholdsUpdate
impl Unpin for ThresholdsUpdate
impl UnsafeUnpin for ThresholdsUpdate
impl UnwindSafe for ThresholdsUpdate
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