pub enum NotifyKind {
Webhook,
Ntfy,
}Expand description
What a notification target takes.
Variants§
Webhook
api::Notification as JSON.
Ntfy
An ntfy topic: the title, message, priority and link, published as ntfy’s JSON.
Trait Implementations§
Source§impl Clone for NotifyKind
impl Clone for NotifyKind
impl Copy for NotifyKind
Source§impl Debug for NotifyKind
impl Debug for NotifyKind
Source§impl<'de> Deserialize<'de> for NotifyKind
impl<'de> Deserialize<'de> for NotifyKind
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
impl Eq for NotifyKind
Source§impl PartialEq for NotifyKind
impl PartialEq for NotifyKind
impl StructuralPartialEq for NotifyKind
Auto Trait Implementations§
impl Freeze for NotifyKind
impl RefUnwindSafe for NotifyKind
impl Send for NotifyKind
impl Sync for NotifyKind
impl Unpin for NotifyKind
impl UnsafeUnpin for NotifyKind
impl UnwindSafe for NotifyKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.