pub struct HypeTrainEventsV1 {
pub channel_id: u32,
}
๐Deprecated since 0.7.0: use
EventSub
instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043Available on crate features
pubsub
and unsupported
only.Expand description
A user redeems an reward using channel points.
Fieldsยง
ยงchannel_id: u32
๐Deprecated since 0.7.0: use
EventSub
instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043The channel_id to watch. Can be fetched with the Get Users endpoint
Trait Implementationsยง
Sourceยงimpl Clone for HypeTrainEventsV1
impl Clone for HypeTrainEventsV1
Sourceยงfn clone(&self) -> HypeTrainEventsV1
fn clone(&self) -> HypeTrainEventsV1
Returns a copy of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl Debug for HypeTrainEventsV1
impl Debug for HypeTrainEventsV1
Sourceยงimpl<'de> Deserialize<'de> for HypeTrainEventsV1
impl<'de> Deserialize<'de> for HypeTrainEventsV1
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl Display for HypeTrainEventsV1
impl Display for HypeTrainEventsV1
Sourceยงimpl<'a> From<&'a HypeTrainEventsV1> for String
impl<'a> From<&'a HypeTrainEventsV1> for String
Sourceยงfn from(t: &'a HypeTrainEventsV1) -> Self
fn from(t: &'a HypeTrainEventsV1) -> Self
Converts to this type from the input type.
Sourceยงimpl From<HypeTrainEventsV1> for String
impl From<HypeTrainEventsV1> for String
Sourceยงfn from(t: HypeTrainEventsV1) -> Self
fn from(t: HypeTrainEventsV1) -> Self
Converts to this type from the input type.
Sourceยงimpl From<HypeTrainEventsV1> for Topics
impl From<HypeTrainEventsV1> for Topics
Sourceยงfn from(t: HypeTrainEventsV1) -> Self
fn from(t: HypeTrainEventsV1) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for HypeTrainEventsV1
impl Hash for HypeTrainEventsV1
Sourceยงimpl PartialEq for HypeTrainEventsV1
impl PartialEq for HypeTrainEventsV1
Sourceยงimpl Serialize for HypeTrainEventsV1
impl Serialize for HypeTrainEventsV1
Sourceยงimpl Topic for HypeTrainEventsV1
impl Topic for HypeTrainEventsV1
Sourceยงconst SCOPE: Validator
const SCOPE: Validator
๐Deprecated since 0.7.0: use
EventSub
instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043Available on crate feature
twitch_oauth2
only.Scopes needed by this topic
Sourceยงfn into_topic(self) -> Topics
fn into_topic(self) -> Topics
๐Deprecated since 0.7.0: use
EventSub
instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043Convert this into a
Topics
Sourceยงimpl TryFrom<String> for HypeTrainEventsV1
impl TryFrom<String> for HypeTrainEventsV1
impl Eq for HypeTrainEventsV1
impl StructuralPartialEq for HypeTrainEventsV1
Auto Trait Implementationsยง
impl Freeze for HypeTrainEventsV1
impl RefUnwindSafe for HypeTrainEventsV1
impl Send for HypeTrainEventsV1
impl Sync for HypeTrainEventsV1
impl Unpin for HypeTrainEventsV1
impl UnwindSafe for HypeTrainEventsV1
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more