[][src]Enum twitchchat::commands::NoticeType

pub enum NoticeType {
    Sub,
    Resub,
    SubGift,
    AnonSubGift,
    SubMysteryGift,
    GiftPaidUpgrade,
    RewardGift,
    AnonGiftPaidUpgrade,
    Raid,
    Unraid,
    Ritual,
    BitsBadgeTier,
    Unknown(String),
}

The type of message this User Notice is

Variants

Sub

Enables:

  • msg-param-cumulative-months,
  • msg-param-should-share-streak,
  • msg-param-streak-months,
  • msg-param-sub-plan,
  • msg-param-sub-plan-name
Resub

Enables:

  • msg-param-cumulative-months,
  • msg-param-should-share-streak,
  • msg-param-streak-months,
  • msg-param-sub-plan,
  • msg-param-sub-plan-name
SubGift

Enables:

  • msg-param-months,
  • msg-param-recipient-display-name,
  • msg-param-recipient-id,
  • msg-param-recipient-user-name,
  • msg-param-sub-plan,
  • msg-param-sub-plan-name
AnonSubGift

Enables:

  • msg-param-months
  • msg-param-recipient-display-name
  • msg-param-recipient-id
  • msg-param-recipient-user-name
  • msg-param-sub-plan
  • msg-param-sub-plan-name
SubMysteryGift

-- not documented

GiftPaidUpgrade

-- not documented

RewardGift

-- not documented

AnonGiftPaidUpgrade

-- not documented

Raid

Enables:

  • msg-param-displayName,
  • msg-param-login,
  • msg-param-viewerCount
Unraid

-- not documented

Ritual

Enables:

  • msg-param-ritual-name
BitsBadgeTier

-- not documented

Unknown(String)

An unknown message type

Trait Implementations

impl PartialEq<NoticeType> for NoticeType[src]

impl Clone for NoticeType[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for NoticeType[src]

impl Serialize for NoticeType[src]

impl<'de> Deserialize<'de> for NoticeType[src]

Auto Trait Implementations

impl Send for NoticeType

impl Sync for NoticeType

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]