Enum twitch_api2::pubsub::Response [−][src]
pub enum Response { Response(TwitchResponse), Message { data: TopicData, }, Pong, Reconnect, }
This is supported on crate feature
pubsub
only.Response from twitchs PubSub server. Either a response indicating status of something or a message from a topic
Variants
Response(TwitchResponse)
Response from a subscription/unsubscription
Message received containing all applicable data
Response from a ping
Request for the client to reconnect
Implementations
Trait Implementations
impl<'de> Deserialize<'de> for Response
[src]
impl<'de> Deserialize<'de> for Response
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructuralPartialEq for Response
[src]
impl StructuralPartialEq for Response
[src]Auto Trait Implementations
impl RefUnwindSafe for Response
impl RefUnwindSafe for Response
impl UnwindSafe for Response
impl UnwindSafe for Response
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,