Enum twitch_api2::pubsub::video_playback::VideoPlaybackReply [−][src]
#[non_exhaustive] pub enum VideoPlaybackReply { Commercial { length: i64, server_time: f64, // some fields omitted }, ViewCount { server_time: f64, viewers: i64, }, WatchPartyVod { vod: Vod, }, StreamUp { server_time: f64, play_delay: i64, }, StreamDown { server_time: f64, }, TosStrike { server_time: f64, }, }
This is supported on crate features
pubsub
and unsupported
only.Reply from VideoPlayback and VideoPlaybackById
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Commercial started
Commercial started in full-screen or PiP
Show fields
Current viewcount on playback
VOD Watchparty.
Show fields
Fields of WatchPartyVod
vod: Vod
information about VOD.
Stream started
Show fields
Stream ended
Show fields
Fields of StreamDown
server_time: f64
Epoch Server time
Channel hit by TOS strike, meaning it will end
Show fields
Fields of TosStrike
server_time: f64
Epoch Server time
Trait Implementations
impl Clone for VideoPlaybackReply
[src]
impl Clone for VideoPlaybackReply
[src]fn clone(&self) -> VideoPlaybackReply
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for VideoPlaybackReply
[src]
impl<'de> Deserialize<'de> for VideoPlaybackReply
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<VideoPlaybackReply> for VideoPlaybackReply
[src]
impl PartialEq<VideoPlaybackReply> for VideoPlaybackReply
[src]fn eq(&self, other: &VideoPlaybackReply) -> bool
[src]
fn ne(&self, other: &VideoPlaybackReply) -> bool
[src]
impl Serialize for VideoPlaybackReply
[src]
impl Serialize for VideoPlaybackReply
[src]Auto Trait Implementations
impl RefUnwindSafe for VideoPlaybackReply
impl RefUnwindSafe for VideoPlaybackReply
impl Send for VideoPlaybackReply
impl Send for VideoPlaybackReply
impl Sync for VideoPlaybackReply
impl Sync for VideoPlaybackReply
impl Unpin for VideoPlaybackReply
impl Unpin for VideoPlaybackReply
impl UnwindSafe for VideoPlaybackReply
impl UnwindSafe for VideoPlaybackReply
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>,