pub struct QueueDepthAlertConfig {
pub warning_threshold: usize,
pub critical_threshold: usize,
pub enabled: bool,
}Expand description
Configuration for queue depth alerts
Fields§
§warning_threshold: usizeWarning threshold (queue depth)
critical_threshold: usizeCritical threshold (queue depth)
enabled: boolEnable alerts
Implementations§
Trait Implementations§
Source§impl Clone for QueueDepthAlertConfig
impl Clone for QueueDepthAlertConfig
Source§fn clone(&self) -> QueueDepthAlertConfig
fn clone(&self) -> QueueDepthAlertConfig
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 QueueDepthAlertConfig
impl Debug for QueueDepthAlertConfig
Source§impl Default for QueueDepthAlertConfig
impl Default for QueueDepthAlertConfig
Source§impl PartialEq for QueueDepthAlertConfig
impl PartialEq for QueueDepthAlertConfig
impl StructuralPartialEq for QueueDepthAlertConfig
Auto Trait Implementations§
impl Freeze for QueueDepthAlertConfig
impl RefUnwindSafe for QueueDepthAlertConfig
impl Send for QueueDepthAlertConfig
impl Sync for QueueDepthAlertConfig
impl Unpin for QueueDepthAlertConfig
impl UnsafeUnpin for QueueDepthAlertConfig
impl UnwindSafe for QueueDepthAlertConfig
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