pub struct NotifyRouteConfig {
pub channel_type: String,
pub level: String,
pub config: Value,
}Expand description
Notification routing entry (supports multiple targets).
Fields§
§channel_type: StringChannel type.
level: StringMinimum notification level to deliver: “debug”, “info”, “warning”, “error”.
config: ValueChannel-specific config.
Trait Implementations§
Source§impl Clone for NotifyRouteConfig
impl Clone for NotifyRouteConfig
Source§fn clone(&self) -> NotifyRouteConfig
fn clone(&self) -> NotifyRouteConfig
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 NotifyRouteConfig
impl Debug for NotifyRouteConfig
Source§impl<'de> Deserialize<'de> for NotifyRouteConfig
impl<'de> Deserialize<'de> for NotifyRouteConfig
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 NotifyRouteConfig
impl RefUnwindSafe for NotifyRouteConfig
impl Send for NotifyRouteConfig
impl Sync for NotifyRouteConfig
impl Unpin for NotifyRouteConfig
impl UnsafeUnpin for NotifyRouteConfig
impl UnwindSafe for NotifyRouteConfig
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