pub enum NotifyTarget {
Webhook(String),
EventBus,
Protocol,
}Expand description
Notification target.
Variants§
Webhook(String)
Send to a webhook URL.
EventBus
Emit on the event bus.
Protocol
Send to connected protocol agents.
Trait Implementations§
Source§impl Clone for NotifyTarget
impl Clone for NotifyTarget
Source§fn clone(&self) -> NotifyTarget
fn clone(&self) -> NotifyTarget
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 NotifyTarget
impl Debug for NotifyTarget
Source§impl<'de> Deserialize<'de> for NotifyTarget
impl<'de> Deserialize<'de> for NotifyTarget
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 NotifyTarget
impl RefUnwindSafe for NotifyTarget
impl Send for NotifyTarget
impl Sync for NotifyTarget
impl Unpin for NotifyTarget
impl UnsafeUnpin for NotifyTarget
impl UnwindSafe for NotifyTarget
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