[][src]Enum ttv_pubsub::TopicData

pub enum TopicData {
    ChannelBitsEventsV2 {
        topic: ChannelBitsEventsV2,
        reply: Box<ChannelBitsEventsV2Reply, Global>,
    },
    ChatModeratorActions {
        topic: ChatModeratorActions,
        reply: Box<ChatModeratorActionsReply, Global>,
    },
    ChannelPointsChannelV1 {
        topic: ChannelPointsChannelV1,
        reply: Box<ChannelPointsChannelV1Reply, Global>,
    },
    ChannelSubscribeEventsV1 {
        topic: ChannelSubscribeEventsV1,
        reply: Box<ChannelSubscribeEventsV1Reply, Global>,
    },
}

Message response from twitch PubSub.

See TwitchResponse

Variants

ChannelBitsEventsV2

Response from the channel_bits::ChannelBitsEventsV2 topic.

Fields of ChannelBitsEventsV2

topic: ChannelBitsEventsV2

Topic message

reply: Box<ChannelBitsEventsV2Reply, Global>

Message reply from topic subscription

ChatModeratorActions

Response from the moderation::ChatModeratorActions topic.

Fields of ChatModeratorActions

topic: ChatModeratorActions

Topic message

reply: Box<ChatModeratorActionsReply, Global>

Message reply from topic subscription

ChannelPointsChannelV1

Response from the channel_points::ChannelPointsChannelV1 topic.

Fields of ChannelPointsChannelV1

topic: ChannelPointsChannelV1

Topic message

reply: Box<ChannelPointsChannelV1Reply, Global>

Message reply from topic subscription

ChannelSubscribeEventsV1

Fields of ChannelSubscribeEventsV1

topic: ChannelSubscribeEventsV1

Topic message

reply: Box<ChannelSubscribeEventsV1Reply, Global>

Message reply from topic subscription

Implementations

impl<'de> TopicData[src]

pub fn deserialize<__D>(
    __deserializer: __D
) -> Result<TopicData, <__D as Deserializer<'de>>::Error> where
    __D: Deserializer<'de>, 
[src]

impl TopicData[src]

pub fn serialize<__S>(
    __self: &TopicData,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
    __S: Serializer
[src]

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 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, U> Into<U> for T where
    U: From<T>, 
[src]

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.