Trait twitch_api2::pubsub::Topic
source · [−]pub trait Topic: Serialize + Into<String> {
const SCOPE: &'static [Scope];
fn into_topic(self) -> Topics;
}
Available on crate feature
pubsub
only.Expand description
A logical partition of messages that clients may subscribe to, to get messages.
also known as event
Required Associated Constants
const SCOPE: &'static [Scope]
const SCOPE: &'static [Scope]
Available on crate feature
twitch_oauth2
only.Scopes needed by this topic
This constant
unsupported
Required Methods
fn into_topic(self) -> Topics
fn into_topic(self) -> Topics
Convert this into a Topics
Implementors
sourceimpl Topic for AutoModQueue
impl Topic for AutoModQueue
const SCOPE: &'static [Scope] = &[twitch_oauth2::Scope::ChannelModerate]
sourceimpl Topic for ChannelBitsEventsV2
impl Topic for ChannelBitsEventsV2
const SCOPE: &'static [Scope] = &[twitch_oauth2::Scope::BitsRead]
sourceimpl Topic for ChannelBitsBadgeUnlocks
impl Topic for ChannelBitsBadgeUnlocks
const SCOPE: &'static [Scope] = &[twitch_oauth2::Scope::BitsRead]
sourceimpl Topic for ChannelCheerEventsPublicV1
Available on crate feature unsupported
only.
impl Topic for ChannelCheerEventsPublicV1
Available on crate feature
unsupported
only.const SCOPE: &'static [Scope] = &[]
sourceimpl Topic for ChannelPointsChannelV1
impl Topic for ChannelPointsChannelV1
const SCOPE: &'static [Scope] = &[twitch_oauth2::Scope::ChannelReadRedemptions]
sourceimpl Topic for ChannelSubGiftsV1
Available on crate feature unsupported
only.
impl Topic for ChannelSubGiftsV1
Available on crate feature
unsupported
only.const SCOPE: &'static [Scope] = &[]
sourceimpl Topic for ChannelSubscribeEventsV1
impl Topic for ChannelSubscribeEventsV1
const SCOPE: &'static [Scope] = &[twitch_oauth2::Scope::ChannelSubscriptions]
sourceimpl Topic for CommunityPointsChannelV1
Available on crate feature unsupported
only.
impl Topic for CommunityPointsChannelV1
Available on crate feature
unsupported
only.const SCOPE: &'static [Scope] = &[twitch_oauth2::Scope::ChannelReadRedemptions]
sourceimpl Topic for Following
Available on crate feature unsupported
only.
impl Topic for Following
Available on crate feature
unsupported
only.const SCOPE: &'static [Scope] = &[]
sourceimpl Topic for HypeTrainEventsV1
Available on crate feature unsupported
only.
impl Topic for HypeTrainEventsV1
Available on crate feature
unsupported
only.const SCOPE: &'static [Scope] = &[]
sourceimpl Topic for HypeTrainEventsV1Rewards
Available on crate feature unsupported
only.
impl Topic for HypeTrainEventsV1Rewards
Available on crate feature
unsupported
only.const SCOPE: &'static [Scope] = &[]
sourceimpl Topic for ChatModeratorActions
impl Topic for ChatModeratorActions
const SCOPE: &'static [Scope] = &[twitch_oauth2::Scope::ChannelModerate]
sourceimpl Topic for Raid
Available on crate feature unsupported
only.
impl Topic for Raid
Available on crate feature
unsupported
only.const SCOPE: &'static [Scope] = &[]
sourceimpl Topic for UserModerationNotifications
impl Topic for UserModerationNotifications
const SCOPE: &'static [Scope] = &[]
sourceimpl Topic for VideoPlayback
Available on crate feature unsupported
only.
impl Topic for VideoPlayback
Available on crate feature
unsupported
only.const SCOPE: &'static [Scope] = &[]
sourceimpl Topic for VideoPlaybackById
Available on crate feature unsupported
only.
impl Topic for VideoPlaybackById
Available on crate feature
unsupported
only.