pub struct AlertEscalationConfig {
pub enabled: bool,
pub escalate_after_seconds: u64,
}Expand description
Optional alert escalation configuration.
If no acknowledgement is received within escalate_after_seconds, the
alert is re-sent at the next higher severity channel.
Fields§
§enabled: boolEnable escalation.
escalate_after_seconds: u64Seconds to wait before escalating an unacknowledged alert.
Trait Implementations§
Source§impl Clone for AlertEscalationConfig
impl Clone for AlertEscalationConfig
Source§fn clone(&self) -> AlertEscalationConfig
fn clone(&self) -> AlertEscalationConfig
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 AlertEscalationConfig
impl Debug for AlertEscalationConfig
Source§impl<'de> Deserialize<'de> for AlertEscalationConfig
impl<'de> Deserialize<'de> for AlertEscalationConfig
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
Auto Trait Implementations§
impl Freeze for AlertEscalationConfig
impl RefUnwindSafe for AlertEscalationConfig
impl Send for AlertEscalationConfig
impl Sync for AlertEscalationConfig
impl Unpin for AlertEscalationConfig
impl UnsafeUnpin for AlertEscalationConfig
impl UnwindSafe for AlertEscalationConfig
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