Struct twitch_api2::pubsub::channel_sub_gifts::ChannelSubGiftsV1 [−][src]
pub struct ChannelSubGiftsV1 { pub channel_id: u32, }
This is supported on crate features
pubsub
and unsupported
only.A user gifts subs.
This allows one to know how many subs were gifted in a single event. See also pubsub::channel_subscriptions::ChannelSubscribeEventsV1
which needs token from broadcaster
Fields
channel_id: u32
The channel_id to watch. Can be fetched with the Get Users endpoint
Trait Implementations
impl Clone for ChannelSubGiftsV1
[src]
impl Clone for ChannelSubGiftsV1
[src]fn clone(&self) -> ChannelSubGiftsV1
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for ChannelSubGiftsV1
[src]
impl<'de> Deserialize<'de> for ChannelSubGiftsV1
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for ChannelSubGiftsV1
[src]
impl Eq for ChannelSubGiftsV1
[src]impl From<ChannelSubGiftsV1> for Topics
[src]
impl From<ChannelSubGiftsV1> for Topics
[src]fn from(t: ChannelSubGiftsV1) -> Self
[src]
impl PartialEq<ChannelSubGiftsV1> for ChannelSubGiftsV1
[src]
impl PartialEq<ChannelSubGiftsV1> for ChannelSubGiftsV1
[src]fn eq(&self, other: &ChannelSubGiftsV1) -> bool
[src]
fn ne(&self, other: &ChannelSubGiftsV1) -> bool
[src]
impl Serialize for ChannelSubGiftsV1
[src]
impl Serialize for ChannelSubGiftsV1
[src]impl StructuralEq for ChannelSubGiftsV1
[src]
impl StructuralEq for ChannelSubGiftsV1
[src]impl Topic for ChannelSubGiftsV1
[src]
impl Topic for ChannelSubGiftsV1
[src]const SCOPE: &'static [Scope]
[src]
fn into_topic(self) -> Topics
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChannelSubGiftsV1
impl RefUnwindSafe for ChannelSubGiftsV1
impl Send for ChannelSubGiftsV1
impl Send for ChannelSubGiftsV1
impl Sync for ChannelSubGiftsV1
impl Sync for ChannelSubGiftsV1
impl Unpin for ChannelSubGiftsV1
impl Unpin for ChannelSubGiftsV1
impl UnwindSafe for ChannelSubGiftsV1
impl UnwindSafe for ChannelSubGiftsV1
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>,