Struct twitch_api2::helix::webhooks::topics::hypetrain::HypeTrainEventTopic [−][src]
pub struct HypeTrainEventTopic { pub broadcaster_id: UserId, }
This is supported on crate feature
helix
only.Notifies when a hype train progression occurs Topic: Hype Train Event
Fields
broadcaster_id: UserId
User ID of the broadcaster. Must match the User ID in the Bearer token.
Implementations
Trait Implementations
impl Clone for HypeTrainEventTopic
[src]
impl Clone for HypeTrainEventTopic
[src]fn clone(&self) -> HypeTrainEventTopic
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for HypeTrainEventTopic
[src]
impl<'de> Deserialize<'de> for HypeTrainEventTopic
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<HypeTrainEventTopic> for HypeTrainEventTopic
[src]
impl PartialEq<HypeTrainEventTopic> for HypeTrainEventTopic
[src]fn eq(&self, other: &HypeTrainEventTopic) -> bool
[src]
fn ne(&self, other: &HypeTrainEventTopic) -> bool
[src]
impl Serialize for HypeTrainEventTopic
[src]
impl Serialize for HypeTrainEventTopic
[src]impl Topic for HypeTrainEventTopic
[src]
impl Topic for HypeTrainEventTopic
[src]type Helix = GetHypeTrainEventsRequest
Helix response
const PATH: &'static str
[src]
const SCOPE: &'static [Scope]
[src]
const OPT_SCOPE: &'static [Scope]
[src]
fn query(&self) -> Result<String, Error>
[src]
fn get_uri(&self) -> Result<Uri, InvalidUri>
[src]
fn get_bare_uri() -> Result<Uri, InvalidUri>
[src]
fn parse_payload(
response: Response<Vec<u8>>
) -> Result<Response<Self::Helix, <Self::Helix as Request>::Response>, HelixRequestGetError> where
Self: Sized,
[src]
response: Response<Vec<u8>>
) -> Result<Response<Self::Helix, <Self::Helix as Request>::Response>, HelixRequestGetError> where
Self: Sized,
Auto Trait Implementations
impl RefUnwindSafe for HypeTrainEventTopic
impl RefUnwindSafe for HypeTrainEventTopic
impl Send for HypeTrainEventTopic
impl Send for HypeTrainEventTopic
impl Sync for HypeTrainEventTopic
impl Sync for HypeTrainEventTopic
impl Unpin for HypeTrainEventTopic
impl Unpin for HypeTrainEventTopic
impl UnwindSafe for HypeTrainEventTopic
impl UnwindSafe for HypeTrainEventTopic
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>,