Enum twitch_api::pubsub::video_playback::WatchpartyType
source · [−]#[non_exhaustive]
pub enum WatchpartyType {
Rerun,
Premiere,
}
Available on crate features
pubsub
and unsupported
only.Expand description
Watch party type
Variants (Non-exhaustive)
This enum is marked as 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.
Rerun
A rerun, i.e a highlight or saved broadcast
Premiere
A premiere, i.e a uploaded video
Trait Implementations
sourceimpl Clone for WatchpartyType
impl Clone for WatchpartyType
sourcefn clone(&self) -> WatchpartyType
fn clone(&self) -> WatchpartyType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WatchpartyType
impl Debug for WatchpartyType
sourceimpl<'de> Deserialize<'de> for WatchpartyType
impl<'de> Deserialize<'de> for WatchpartyType
sourcefn 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
sourceimpl PartialEq<WatchpartyType> for WatchpartyType
impl PartialEq<WatchpartyType> for WatchpartyType
sourcefn eq(&self, other: &WatchpartyType) -> bool
fn eq(&self, other: &WatchpartyType) -> bool
sourceimpl Serialize for WatchpartyType
impl Serialize for WatchpartyType
impl Eq for WatchpartyType
impl StructuralEq for WatchpartyType
impl StructuralPartialEq for WatchpartyType
Auto Trait Implementations
impl RefUnwindSafe for WatchpartyType
impl Send for WatchpartyType
impl Sync for WatchpartyType
impl Unpin for WatchpartyType
impl UnwindSafe for WatchpartyType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.