Struct twitch_api2::pubsub::hypetrain::HypeTrainStart[][src]

#[non_exhaustive]pub struct HypeTrainStart {
    pub channel_id: Option<UserId>,
    pub config: Box<Config>,
    pub expires_at: Option<i64>,
    pub id: Option<String>,
    pub participations: Participations,
    pub progress: Box<HypeTrainProgress>,
    pub started_at: Option<i64>,
    pub updated_at: Option<i64>,
    // some fields omitted
}
This is supported on crate features pubsub and unsupported only.

Hype train started in channel

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
channel_id: Option<UserId>

ID of channel where hype-train was initiated

config: Box<Config>

Config of this hype-train

expires_at: Option<i64>

Server time epoch in milliseconds when hype train ends

id: Option<String>

ID of hype train

participations: Participations

Participations in hype train

progress: Box<HypeTrainProgress>

Progress of hype train

started_at: Option<i64>

Server time epoch in milliseconds when hype train started

updated_at: Option<i64>

Server time epoch in milliseconds when hype train was updated

Trait Implementations

impl Clone for HypeTrainStart[src]

impl Debug for HypeTrainStart[src]

impl<'de> Deserialize<'de> for HypeTrainStart[src]

impl Eq for HypeTrainStart[src]

impl PartialEq<HypeTrainStart> for HypeTrainStart[src]

impl Serialize for HypeTrainStart[src]

impl StructuralEq for HypeTrainStart[src]

impl StructuralPartialEq for HypeTrainStart[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]