pub enum TopicData {
Show 16 variants AutoModQueue { topic: AutoModQueue, reply: Box<AutoModQueueReply>, }, ChannelBitsEventsV2 { topic: ChannelBitsEventsV2, reply: Box<ChannelBitsEventsV2Reply>, }, ChannelBitsBadgeUnlocks { topic: ChannelBitsBadgeUnlocks, reply: Box<ChannelBitsBadgeUnlocksReply>, }, ChatModeratorActions { topic: ChatModeratorActions, reply: Box<ChatModeratorActionsReply>, }, ChannelPointsChannelV1 { topic: ChannelPointsChannelV1, reply: Box<ChannelPointsChannelV1Reply>, }, ChannelSubscribeEventsV1 { topic: ChannelSubscribeEventsV1, reply: Box<ChannelSubscribeEventsV1Reply>, }, CommunityPointsChannelV1 { topic: CommunityPointsChannelV1, reply: Box<ChannelPointsChannelV1Reply>, }, ChannelCheerEventsPublicV1 { topic: ChannelCheerEventsPublicV1, reply: Box<ChannelCheerEventsPublicV1Reply>, }, ChannelSubGiftsV1 { topic: ChannelSubGiftsV1, reply: Box<ChannelSubGiftsV1Reply>, }, VideoPlayback { topic: VideoPlayback, reply: Box<VideoPlaybackReply>, }, VideoPlaybackById { topic: VideoPlaybackById, reply: Box<VideoPlaybackReply>, }, HypeTrainEventsV1 { topic: HypeTrainEventsV1, reply: Box<HypeTrainEventsV1Reply>, }, HypeTrainEventsV1Rewards { topic: HypeTrainEventsV1Rewards, reply: Box<HypeTrainEventsV1Reply>, }, Following { topic: Following, reply: Box<FollowingReply>, }, Raid { topic: Raid, reply: Box<RaidReply>, }, UserModerationNotifications { topic: UserModerationNotifications, reply: Box<UserModerationNotificationsReply>, },
}
Available on crate feature pubsub only.
Expand description

Message response from twitch PubSub.

See TwitchResponse

Variants

AutoModQueue

Fields

topic: AutoModQueue

Topic message

reply: Box<AutoModQueueReply>

Message reply from topic subscription

Response from the automod_queue::AutoModQueue topic.

ChannelBitsEventsV2

Fields

topic: ChannelBitsEventsV2

Topic message

reply: Box<ChannelBitsEventsV2Reply>

Message reply from topic subscription

Response from the channel_bits::ChannelBitsEventsV2 topic.

ChannelBitsBadgeUnlocks

Fields

topic: ChannelBitsBadgeUnlocks

Topic message

reply: Box<ChannelBitsBadgeUnlocksReply>

Message reply from topic subscription

ChatModeratorActions

Fields

topic: ChatModeratorActions

Topic message

reply: Box<ChatModeratorActionsReply>

Message reply from topic subscription

Response from the moderation::ChatModeratorActions topic.

ChannelPointsChannelV1

Fields

topic: ChannelPointsChannelV1

Topic message

reply: Box<ChannelPointsChannelV1Reply>

Message reply from topic subscription

Response from the channel_points::ChannelPointsChannelV1 topic.

ChannelSubscribeEventsV1

Fields

topic: ChannelSubscribeEventsV1

Topic message

reply: Box<ChannelSubscribeEventsV1Reply>

Message reply from topic subscription

CommunityPointsChannelV1

Fields

topic: CommunityPointsChannelV1

Topic message

reply: Box<ChannelPointsChannelV1Reply>

Message reply from topic subscription

Available on crate feature unsupported only.

ChannelCheerEventsPublicV1

Fields

topic: ChannelCheerEventsPublicV1

Topic message

reply: Box<ChannelCheerEventsPublicV1Reply>

Message reply from topic subscription

Available on crate feature unsupported only.

ChannelSubGiftsV1

Fields

topic: ChannelSubGiftsV1

Topic message

reply: Box<ChannelSubGiftsV1Reply>

Message reply from topic subscription

Available on crate feature unsupported only.

Response from the channel_sub_gifts::ChannelSubGiftsV1 topic.

VideoPlayback

Fields

topic: VideoPlayback

Topic message

reply: Box<VideoPlaybackReply>

Message reply from topic subscription

Available on crate feature unsupported only.

Response from the video_playback::VideoPlayback topic.

VideoPlaybackById

Fields

topic: VideoPlaybackById

Topic message

reply: Box<VideoPlaybackReply>

Message reply from topic subscription

Available on crate feature unsupported only.

Response from the video_playback::VideoPlaybackById topic.

HypeTrainEventsV1

Fields

topic: HypeTrainEventsV1

Topic message

reply: Box<HypeTrainEventsV1Reply>

Message reply from topic subscription

Available on crate feature unsupported only.

Response from the hypetrain::HypeTrainEventsV1 topic.

HypeTrainEventsV1Rewards

Fields

topic: HypeTrainEventsV1Rewards

Topic message

reply: Box<HypeTrainEventsV1Reply>

Message reply from topic subscription

Available on crate feature unsupported only.

Response from the hypetrain::HypeTrainEventsV1Rewards topic.

Following

Fields

topic: Following

Topic message

reply: Box<FollowingReply>

Message reply from topic subscription

Available on crate feature unsupported only.

Response from the following::Following topic.

Raid

Fields

topic: Raid

Topic message

reply: Box<RaidReply>

Message reply from topic subscription

Available on crate feature unsupported only.

Response from the raid::Raid topic.

UserModerationNotifications

Fields

topic: UserModerationNotifications

Topic message

reply: Box<UserModerationNotificationsReply>

Message reply from topic subscription

A user’s message held by AutoMod has been approved or denied.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more