pub struct EscalationConfig {
pub policies: Vec<EscalationPolicy>,
pub default_escalation_time: Duration,
}Expand description
Escalation configuration
Fields§
§policies: Vec<EscalationPolicy>Escalation policies
default_escalation_time: DurationDefault escalation time
Trait Implementations§
Source§impl Clone for EscalationConfig
impl Clone for EscalationConfig
Source§fn clone(&self) -> EscalationConfig
fn clone(&self) -> EscalationConfig
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 EscalationConfig
impl Debug for EscalationConfig
Source§impl Default for EscalationConfig
impl Default for EscalationConfig
Source§impl<'de> Deserialize<'de> for EscalationConfig
impl<'de> Deserialize<'de> for EscalationConfig
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 EscalationConfig
impl RefUnwindSafe for EscalationConfig
impl Send for EscalationConfig
impl Sync for EscalationConfig
impl Unpin for EscalationConfig
impl UnwindSafe for EscalationConfig
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