pub enum UserNoticeId {
Sub,
Resub,
Subgift,
SubMysteryGift,
GiftPaidUpgrade,
RewardGift,
AnonGiftPaidUpgrade,
Raid,
Unraid,
Ritual,
BitsBadgeTier,
Unknown,
}Expand description
The type of notice
Variants§
Sub
A subscription event
Resub
A resubscription event
Subgift
A gift subscription event
SubMysteryGift
A mass subscription event occurs.
GiftPaidUpgrade
A gifted subscription is continued
RewardGift
Monetary event triggered emotes to be shared
AnonGiftPaidUpgrade
A gifted subscription from an anonymous user is continued
Raid
A raid happens
Unraid
A raid from the channel to another is cancelled.
Ritual
👎Deprecated
BitsBadgeTier
A user shares a new bits badge
Unknown
Unknown notice
Trait Implementations§
Source§impl Clone for UserNoticeId
impl Clone for UserNoticeId
Source§fn clone(&self) -> UserNoticeId
fn clone(&self) -> UserNoticeId
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserNoticeId
impl Debug for UserNoticeId
Source§impl Default for UserNoticeId
impl Default for UserNoticeId
Source§fn default() -> UserNoticeId
fn default() -> UserNoticeId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserNoticeId
impl<'de> Deserialize<'de> for UserNoticeId
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 Hash for UserNoticeId
impl Hash for UserNoticeId
Source§impl Ord for UserNoticeId
impl Ord for UserNoticeId
Source§fn cmp(&self, other: &UserNoticeId) -> Ordering
fn cmp(&self, other: &UserNoticeId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UserNoticeId
impl PartialEq for UserNoticeId
Source§impl PartialOrd for UserNoticeId
impl PartialOrd for UserNoticeId
Source§impl Serialize for UserNoticeId
impl Serialize for UserNoticeId
impl Copy for UserNoticeId
impl Eq for UserNoticeId
impl StructuralPartialEq for UserNoticeId
Auto Trait Implementations§
impl Freeze for UserNoticeId
impl RefUnwindSafe for UserNoticeId
impl Send for UserNoticeId
impl Sync for UserNoticeId
impl Unpin for UserNoticeId
impl UnwindSafe for UserNoticeId
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