pub enum NotificationTargetChannel {
Email,
Webhook,
Push,
WebPush,
Other(String),
}Expand description
NotificationTargetChannel enumeration.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NotificationTargetChannel
impl Clone for NotificationTargetChannel
Source§fn clone(&self) -> NotificationTargetChannel
fn clone(&self) -> NotificationTargetChannel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NotificationTargetChannel
impl Debug for NotificationTargetChannel
Source§impl Default for NotificationTargetChannel
impl Default for NotificationTargetChannel
Source§fn default() -> NotificationTargetChannel
fn default() -> NotificationTargetChannel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationTargetChannel
impl<'de> Deserialize<'de> for NotificationTargetChannel
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
Source§impl Display for NotificationTargetChannel
impl Display for NotificationTargetChannel
impl Eq for NotificationTargetChannel
Source§impl From<&str> for NotificationTargetChannel
impl From<&str> for NotificationTargetChannel
Source§impl Hash for NotificationTargetChannel
impl Hash for NotificationTargetChannel
impl StructuralPartialEq for NotificationTargetChannel
Auto Trait Implementations§
impl Freeze for NotificationTargetChannel
impl RefUnwindSafe for NotificationTargetChannel
impl Send for NotificationTargetChannel
impl Sync for NotificationTargetChannel
impl Unpin for NotificationTargetChannel
impl UnsafeUnpin for NotificationTargetChannel
impl UnwindSafe for NotificationTargetChannel
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.