pub enum NotificationType {
Show 14 variants
ActivityMessage,
ActivityReply,
Following,
ActivityMention,
ThreadCommentMention,
Airing,
ActivityLike,
ActivityReplyLike,
ThreadLike,
ActivityReplySubscribed,
RelatedMediaAddition,
MediaDataChange,
MediaMerge,
MediaDeletion,
}
Expand description
Represents the type of a notification.
Variants§
ActivityMessage
Notification for an activity message.
ActivityReply
Notification for an activity reply.
Following
Notification for a new follower.
ActivityMention
Notification for an activity mention.
ThreadCommentMention
Notification for a thread comment mention.
Airing
Notification for an airing.
ActivityLike
Notification for an activity like.
ActivityReplyLike
Notification for an activity reply like.
ThreadLike
Notification for a thread like.
ActivityReplySubscribed
Notification for being subscribed to an activity reply.
RelatedMediaAddition
Notification for a related media addition.
MediaDataChange
Notification for a media data change.
MediaMerge
Notification for a media merge.
MediaDeletion
Notification for a media deletion.
Trait Implementations§
Source§impl Clone for NotificationType
impl Clone for NotificationType
Source§fn clone(&self) -> NotificationType
fn clone(&self) -> NotificationType
Returns a copy 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 NotificationType
impl Debug for NotificationType
Source§impl Default for NotificationType
impl Default for NotificationType
Source§fn default() -> NotificationType
fn default() -> NotificationType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationType
impl<'de> Deserialize<'de> for NotificationType
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 NotificationType
impl Display for NotificationType
Source§impl Hash for NotificationType
impl Hash for NotificationType
Source§impl PartialEq for NotificationType
impl PartialEq for NotificationType
Source§impl Serialize for NotificationType
impl Serialize for NotificationType
impl Eq for NotificationType
impl StructuralPartialEq for NotificationType
Auto Trait Implementations§
impl Freeze for NotificationType
impl RefUnwindSafe for NotificationType
impl Send for NotificationType
impl Sync for NotificationType
impl Unpin for NotificationType
impl UnwindSafe for NotificationType
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,
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.