Struct twitch_api2::pubsub::TwitchResponse [−][src]
This is supported on crate feature
pubsub
only.Response from twitch PubSub
Fields
nonce: Option<String>
The nonce that was passed in the request, if one was provided there
error: Option<String>
The error message associated with the request, or an empty string if there is no error
Implementations
impl TwitchResponse
[src]
impl TwitchResponse
[src]pub fn is_successful(&self) -> bool
[src]
Whether response indicates success or not
Trait Implementations
impl Clone for TwitchResponse
[src]
impl Clone for TwitchResponse
[src]fn clone(&self) -> TwitchResponse
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for TwitchResponse
[src]
impl<'de> Deserialize<'de> for TwitchResponse
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for TwitchResponse
[src]
impl Eq for TwitchResponse
[src]impl PartialEq<TwitchResponse> for TwitchResponse
[src]
impl PartialEq<TwitchResponse> for TwitchResponse
[src]fn eq(&self, other: &TwitchResponse) -> bool
[src]
fn ne(&self, other: &TwitchResponse) -> bool
[src]
impl StructuralEq for TwitchResponse
[src]
impl StructuralEq for TwitchResponse
[src]impl StructuralPartialEq for TwitchResponse
[src]
impl StructuralPartialEq for TwitchResponse
[src]Auto Trait Implementations
impl RefUnwindSafe for TwitchResponse
impl RefUnwindSafe for TwitchResponse
impl Send for TwitchResponse
impl Send for TwitchResponse
impl Sync for TwitchResponse
impl Sync for TwitchResponse
impl Unpin for TwitchResponse
impl Unpin for TwitchResponse
impl UnwindSafe for TwitchResponse
impl UnwindSafe for TwitchResponse
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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[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>,