pub struct EscalationPolicy {
pub severity: AlertSeverity,
pub escalation_time: Duration,
pub escalation_channels: Vec<String>,
}Expand description
Escalation policy
Fields§
§severity: AlertSeverityAlert severity this policy applies to
escalation_time: DurationTime before escalation
escalation_channels: Vec<String>Channels to escalate to
Trait Implementations§
Source§impl Clone for EscalationPolicy
impl Clone for EscalationPolicy
Source§fn clone(&self) -> EscalationPolicy
fn clone(&self) -> EscalationPolicy
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 EscalationPolicy
impl Debug for EscalationPolicy
Source§impl<'de> Deserialize<'de> for EscalationPolicy
impl<'de> Deserialize<'de> for EscalationPolicy
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 EscalationPolicy
impl RefUnwindSafe for EscalationPolicy
impl Send for EscalationPolicy
impl Sync for EscalationPolicy
impl Unpin for EscalationPolicy
impl UnwindSafe for EscalationPolicy
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