Enum twitch_api2::pubsub::Topics
source · [−]#[non_exhaustive]
pub enum Topics {
Show 16 variants
AutoModQueue(AutoModQueue),
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),
UserModerationNotifications(UserModerationNotifications),
}
pubsub
only.Expand description
All possible topics
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AutoModQueue(AutoModQueue)
AutoMod flags a message as potentially inappropriate, and when a moderator takes action on a message.
CommunityPointsChannelV1(CommunityPointsChannelV1)
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)
unsupported
only.A user redeems a cheer with shared rewards.
ChannelSubGiftsV1(ChannelSubGiftsV1)
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)
unsupported
only.Statistics about stream
VideoPlaybackById(VideoPlaybackById)
unsupported
only.Statistics about stream
HypeTrainEventsV1(HypeTrainEventsV1)
unsupported
only.A user redeems an reward using channel points.
HypeTrainEventsV1Rewards(HypeTrainEventsV1Rewards)
unsupported
only.A user redeems an reward using channel points.
Following(Following)
unsupported
only.A user follows the channel
Raid(Raid)
unsupported
only.A user raids the channel
UserModerationNotifications(UserModerationNotifications)
A user’s message held by AutoMod has been approved or denied.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Topics
impl<'de> Deserialize<'de> for Topics
sourcefn 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
sourceimpl From<AutoModQueue> for Topics
impl From<AutoModQueue> for Topics
sourcefn from(t: AutoModQueue) -> Self
fn from(t: AutoModQueue) -> Self
Converts to this type from the input type.
sourceimpl From<ChannelBitsBadgeUnlocks> for Topics
impl From<ChannelBitsBadgeUnlocks> for Topics
sourcefn from(t: ChannelBitsBadgeUnlocks) -> Self
fn from(t: ChannelBitsBadgeUnlocks) -> Self
Converts to this type from the input type.
sourceimpl From<ChannelBitsEventsV2> for Topics
impl From<ChannelBitsEventsV2> for Topics
sourcefn from(t: ChannelBitsEventsV2) -> Self
fn from(t: ChannelBitsEventsV2) -> Self
Converts to this type from the input type.
sourceimpl From<ChannelCheerEventsPublicV1> for Topics
Available on crate feature unsupported
only.
impl From<ChannelCheerEventsPublicV1> for Topics
unsupported
only.sourcefn from(t: ChannelCheerEventsPublicV1) -> Self
fn from(t: ChannelCheerEventsPublicV1) -> Self
Converts to this type from the input type.
sourceimpl From<ChannelPointsChannelV1> for Topics
impl From<ChannelPointsChannelV1> for Topics
sourcefn from(t: ChannelPointsChannelV1) -> Self
fn from(t: ChannelPointsChannelV1) -> Self
Converts to this type from the input type.
sourceimpl From<ChannelSubGiftsV1> for Topics
Available on crate feature unsupported
only.
impl From<ChannelSubGiftsV1> for Topics
unsupported
only.sourcefn from(t: ChannelSubGiftsV1) -> Self
fn from(t: ChannelSubGiftsV1) -> Self
Converts to this type from the input type.
sourceimpl From<ChannelSubscribeEventsV1> for Topics
impl From<ChannelSubscribeEventsV1> for Topics
sourcefn from(t: ChannelSubscribeEventsV1) -> Self
fn from(t: ChannelSubscribeEventsV1) -> Self
Converts to this type from the input type.
sourceimpl From<ChatModeratorActions> for Topics
impl From<ChatModeratorActions> for Topics
sourcefn from(t: ChatModeratorActions) -> Self
fn from(t: ChatModeratorActions) -> Self
Converts to this type from the input type.
sourceimpl From<CommunityPointsChannelV1> for Topics
Available on crate feature unsupported
only.
impl From<CommunityPointsChannelV1> for Topics
unsupported
only.sourcefn from(t: CommunityPointsChannelV1) -> Self
fn from(t: CommunityPointsChannelV1) -> Self
Converts to this type from the input type.
sourceimpl From<HypeTrainEventsV1> for Topics
Available on crate feature unsupported
only.
impl From<HypeTrainEventsV1> for Topics
unsupported
only.sourcefn from(t: HypeTrainEventsV1) -> Self
fn from(t: HypeTrainEventsV1) -> Self
Converts to this type from the input type.
sourceimpl From<HypeTrainEventsV1Rewards> for Topics
Available on crate feature unsupported
only.
impl From<HypeTrainEventsV1Rewards> for Topics
unsupported
only.sourcefn from(t: HypeTrainEventsV1Rewards) -> Self
fn from(t: HypeTrainEventsV1Rewards) -> Self
Converts to this type from the input type.
sourceimpl From<UserModerationNotifications> for Topics
impl From<UserModerationNotifications> for Topics
sourcefn from(t: UserModerationNotifications) -> Self
fn from(t: UserModerationNotifications) -> Self
Converts to this type from the input type.
sourceimpl From<VideoPlayback> for Topics
Available on crate feature unsupported
only.
impl From<VideoPlayback> for Topics
unsupported
only.sourcefn from(t: VideoPlayback) -> Self
fn from(t: VideoPlayback) -> Self
Converts to this type from the input type.
sourceimpl From<VideoPlaybackById> for Topics
Available on crate feature unsupported
only.
impl From<VideoPlaybackById> for Topics
unsupported
only.sourcefn from(t: VideoPlaybackById) -> Self
fn from(t: VideoPlaybackById) -> Self
Converts to this type from the input type.
impl Eq for Topics
impl StructuralEq for Topics
impl StructuralPartialEq for Topics
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more