Enum twitch_api2::pubsub::Topics[][src]

#[non_exhaustive]
pub enum Topics {
Show variants CommunityPointsChannelV1(CommunityPointsChannelV1), ChannelBitsEventsV2(ChannelBitsEventsV2), ChannelBitsBadgeUnlocks(ChannelBitsBadgeUnlocks), ChannelCheerEventsPublicV1(ChannelCheerEventsPublicV1), ChannelSubGiftsV1(ChannelSubGiftsV1), ChatModeratorActions(ChatModeratorActions), ChannelPointsChannelV1(ChannelPointsChannelV1), ChannelSubscribeEventsV1(ChannelSubscribeEventsV1), VideoPlayback(VideoPlayback), VideoPlaybackById(VideoPlaybackById), HypeTrainEventsV1(HypeTrainEventsV1), HypeTrainEventsV1Rewards(HypeTrainEventsV1Rewards), Following(Following), Raid(Raid),
}
This is supported on crate feature pubsub only.

All possible topics

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CommunityPointsChannelV1(CommunityPointsChannelV1)
This is supported on crate feature unsupported only.

A user redeems an reward using channel points.

ChannelBitsEventsV2(ChannelBitsEventsV2)

Anyone cheers in a specified channel.

ChannelBitsBadgeUnlocks(ChannelBitsBadgeUnlocks)

Anyone shares a bit badge in a specified channel.

ChannelCheerEventsPublicV1(ChannelCheerEventsPublicV1)
This is supported on crate feature unsupported only.

A user redeems a cheer with shared rewards.

ChannelSubGiftsV1(ChannelSubGiftsV1)
This is supported on crate feature unsupported only.

A user gifts subs.

ChatModeratorActions(ChatModeratorActions)

A moderator performs an action in the channel.

ChannelPointsChannelV1(ChannelPointsChannelV1)

A user redeems an reward using channel points.

ChannelSubscribeEventsV1(ChannelSubscribeEventsV1)

A subscription event happens in channel

VideoPlayback(VideoPlayback)
This is supported on crate feature unsupported only.

Statistics about stream

VideoPlaybackById(VideoPlaybackById)
This is supported on crate feature unsupported only.

Statistics about stream

HypeTrainEventsV1(HypeTrainEventsV1)
This is supported on crate feature unsupported only.

A user redeems an reward using channel points.

HypeTrainEventsV1Rewards(HypeTrainEventsV1Rewards)
This is supported on crate feature unsupported only.

A user redeems an reward using channel points.

Following(Following)
This is supported on crate feature unsupported only.

A user follows the channel

Raid(Raid)
This is supported on crate feature unsupported only.

A user raids the channel

Trait Implementations

impl Debug for Topics[src]

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

impl Display for Topics[src]

impl Eq for Topics[src]

impl From<ChannelBitsBadgeUnlocks> for Topics[src]

impl From<ChannelBitsEventsV2> for Topics[src]

impl From<ChannelCheerEventsPublicV1> for Topics[src]

This is supported on crate feature unsupported only.

impl From<ChannelPointsChannelV1> for Topics[src]

impl From<ChannelSubGiftsV1> for Topics[src]

This is supported on crate feature unsupported only.

impl From<ChannelSubscribeEventsV1> for Topics[src]

impl From<ChatModeratorActions> for Topics[src]

impl From<CommunityPointsChannelV1> for Topics[src]

This is supported on crate feature unsupported only.

impl From<Following> for Topics[src]

This is supported on crate feature unsupported only.

impl From<HypeTrainEventsV1> for Topics[src]

This is supported on crate feature unsupported only.

impl From<HypeTrainEventsV1Rewards> for Topics[src]

This is supported on crate feature unsupported only.

impl From<Raid> for Topics[src]

This is supported on crate feature unsupported only.

impl From<VideoPlayback> for Topics[src]

This is supported on crate feature unsupported only.

impl From<VideoPlaybackById> for Topics[src]

This is supported on crate feature unsupported only.

impl PartialEq<Topics> for Topics[src]

impl Serialize for Topics[src]

impl StructuralEq for Topics[src]

impl StructuralPartialEq for Topics[src]

Auto Trait Implementations

impl RefUnwindSafe for Topics

impl Send for Topics

impl Sync for Topics

impl Unpin for Topics

impl UnwindSafe for Topics

Blanket Implementations

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

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]