Enum twitch_api2::pubsub::TopicData[][src]

pub enum TopicData {
Show variants 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>, },
}
This is supported on crate feature pubsub only.

Message response from twitch PubSub.

See TwitchResponse

Variants

ChannelBitsEventsV2

Response from the channel_bits::ChannelBitsEventsV2 topic.

Show fields

Fields of ChannelBitsEventsV2

topic: ChannelBitsEventsV2

Topic message

reply: Box<ChannelBitsEventsV2Reply>

Message reply from topic subscription

ChannelBitsBadgeUnlocks
Show fields

Fields of ChannelBitsBadgeUnlocks

topic: ChannelBitsBadgeUnlocks

Topic message

reply: Box<ChannelBitsBadgeUnlocksReply>

Message reply from topic subscription

ChatModeratorActions

Response from the moderation::ChatModeratorActions topic.

Show fields

Fields of ChatModeratorActions

topic: ChatModeratorActions

Topic message

reply: Box<ChatModeratorActionsReply>

Message reply from topic subscription

ChannelPointsChannelV1

Response from the channel_points::ChannelPointsChannelV1 topic.

Show fields

Fields of ChannelPointsChannelV1

topic: ChannelPointsChannelV1

Topic message

reply: Box<ChannelPointsChannelV1Reply>

Message reply from topic subscription

ChannelSubscribeEventsV1
Show fields

Fields of ChannelSubscribeEventsV1

topic: ChannelSubscribeEventsV1

Topic message

reply: Box<ChannelSubscribeEventsV1Reply>

Message reply from topic subscription

CommunityPointsChannelV1
This is supported on crate feature unsupported only.
Show fields

Fields of CommunityPointsChannelV1

topic: CommunityPointsChannelV1

Topic message

reply: Box<ChannelPointsChannelV1Reply>

Message reply from topic subscription

ChannelCheerEventsPublicV1
This is supported on crate feature unsupported only.
Show fields

Fields of ChannelCheerEventsPublicV1

topic: ChannelCheerEventsPublicV1

Topic message

reply: Box<ChannelCheerEventsPublicV1Reply>

Message reply from topic subscription

ChannelSubGiftsV1
This is supported on crate feature unsupported only.

Response from the channel_sub_gifts::ChannelSubGiftsV1 topic.

Show fields

Fields of ChannelSubGiftsV1

topic: ChannelSubGiftsV1

Topic message

reply: Box<ChannelSubGiftsV1Reply>

Message reply from topic subscription

VideoPlayback
This is supported on crate feature unsupported only.

Response from the video_playback::VideoPlayback topic.

Show fields

Fields of VideoPlayback

topic: VideoPlayback

Topic message

reply: Box<VideoPlaybackReply>

Message reply from topic subscription

VideoPlaybackById
This is supported on crate feature unsupported only.

Response from the video_playback::VideoPlaybackById topic.

Show fields

Fields of VideoPlaybackById

topic: VideoPlaybackById

Topic message

reply: Box<VideoPlaybackReply>

Message reply from topic subscription

HypeTrainEventsV1
This is supported on crate feature unsupported only.

Response from the hypetrain::HypeTrainEventsV1 topic.

Show fields

Fields of HypeTrainEventsV1

topic: HypeTrainEventsV1

Topic message

reply: Box<HypeTrainEventsV1Reply>

Message reply from topic subscription

HypeTrainEventsV1Rewards
This is supported on crate feature unsupported only.

Response from the hypetrain::HypeTrainEventsV1Rewards topic.

Show fields

Fields of HypeTrainEventsV1Rewards

topic: HypeTrainEventsV1Rewards

Topic message

reply: Box<HypeTrainEventsV1Reply>

Message reply from topic subscription

Following
This is supported on crate feature unsupported only.

Response from the following::Following topic.

Show fields

Fields of Following

topic: Following

Topic message

reply: Box<FollowingReply>

Message reply from topic subscription

Raid
This is supported on crate feature unsupported only.

Response from the raid::Raid topic.

Show fields

Fields of Raid

topic: Raid

Topic message

reply: Box<RaidReply>

Message reply from topic subscription

Trait Implementations

impl Clone for TopicData[src]

impl Debug for TopicData[src]

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

impl PartialEq<TopicData> for TopicData[src]

impl Serialize for TopicData[src]

impl StructuralPartialEq for TopicData[src]

Auto Trait Implementations

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<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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]