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<'de> Deserialize<'de> for Topics
[src]
impl<'de> Deserialize<'de> for Topics
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<ChannelBitsBadgeUnlocks> for Topics
[src]
impl From<ChannelBitsBadgeUnlocks> for Topics
[src]fn from(t: ChannelBitsBadgeUnlocks) -> Self
[src]
impl From<ChannelBitsEventsV2> for Topics
[src]
impl From<ChannelBitsEventsV2> for Topics
[src]fn from(t: ChannelBitsEventsV2) -> Self
[src]
impl From<ChannelCheerEventsPublicV1> for Topics
[src]
impl From<ChannelCheerEventsPublicV1> for Topics
[src]This is supported on crate feature
unsupported
only.fn from(t: ChannelCheerEventsPublicV1) -> Self
[src]
impl From<ChannelPointsChannelV1> for Topics
[src]
impl From<ChannelPointsChannelV1> for Topics
[src]fn from(t: ChannelPointsChannelV1) -> Self
[src]
impl From<ChannelSubGiftsV1> for Topics
[src]
impl From<ChannelSubGiftsV1> for Topics
[src]This is supported on crate feature
unsupported
only.fn from(t: ChannelSubGiftsV1) -> Self
[src]
impl From<ChannelSubscribeEventsV1> for Topics
[src]
impl From<ChannelSubscribeEventsV1> for Topics
[src]fn from(t: ChannelSubscribeEventsV1) -> Self
[src]
impl From<ChatModeratorActions> for Topics
[src]
impl From<ChatModeratorActions> for Topics
[src]fn from(t: ChatModeratorActions) -> Self
[src]
impl From<CommunityPointsChannelV1> for Topics
[src]
impl From<CommunityPointsChannelV1> for Topics
[src]This is supported on crate feature
unsupported
only.fn from(t: CommunityPointsChannelV1) -> Self
[src]
impl From<HypeTrainEventsV1> for Topics
[src]
impl From<HypeTrainEventsV1> for Topics
[src]This is supported on crate feature
unsupported
only.fn from(t: HypeTrainEventsV1) -> Self
[src]
impl From<HypeTrainEventsV1Rewards> for Topics
[src]
impl From<HypeTrainEventsV1Rewards> for Topics
[src]This is supported on crate feature
unsupported
only.fn from(t: HypeTrainEventsV1Rewards) -> Self
[src]
impl From<VideoPlayback> for Topics
[src]
impl From<VideoPlayback> for Topics
[src]This is supported on crate feature
unsupported
only.fn from(t: VideoPlayback) -> Self
[src]
impl From<VideoPlaybackById> for Topics
[src]
impl From<VideoPlaybackById> for Topics
[src]This is supported on crate feature
unsupported
only.fn from(t: VideoPlaybackById) -> Self
[src]
impl StructuralEq for Topics
[src]
impl StructuralEq for Topics
[src]impl StructuralPartialEq for Topics
[src]
impl StructuralPartialEq for Topics
[src]Auto Trait Implementations
impl RefUnwindSafe for Topics
impl RefUnwindSafe for Topics
impl UnwindSafe for Topics
impl UnwindSafe for Topics
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,