pub enum EscalationRouteConfig {
Single(ChannelRouteConfig),
Multiple(Vec<ChannelRouteConfig>),
}Expand description
One-or-many escalation route config (v0.10.0).
Variants§
Single(ChannelRouteConfig)
A single escalation channel.
Multiple(Vec<ChannelRouteConfig>)
Multiple escalation channels.
Implementations§
Source§impl EscalationRouteConfig
impl EscalationRouteConfig
Sourcepub fn configs(&self) -> Vec<&ChannelRouteConfig>
pub fn configs(&self) -> Vec<&ChannelRouteConfig>
Return the list of channel configs.
Trait Implementations§
Source§impl Clone for EscalationRouteConfig
impl Clone for EscalationRouteConfig
Source§fn clone(&self) -> EscalationRouteConfig
fn clone(&self) -> EscalationRouteConfig
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 EscalationRouteConfig
impl Debug for EscalationRouteConfig
Source§impl<'de> Deserialize<'de> for EscalationRouteConfig
impl<'de> Deserialize<'de> for EscalationRouteConfig
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 EscalationRouteConfig
impl RefUnwindSafe for EscalationRouteConfig
impl Send for EscalationRouteConfig
impl Sync for EscalationRouteConfig
impl Unpin for EscalationRouteConfig
impl UnsafeUnpin for EscalationRouteConfig
impl UnwindSafe for EscalationRouteConfig
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