pub enum VideoType {
Live,
Playlist,
Upload,
Archive,
Highlight,
Premiere,
Rerun,
WatchParty,
WatchPartyPremiere,
WatchPartyRerun,
}
Available on crate feature
stream
only.Expand description
Type of video
Variants§
Live
A live video
Playlist
A playlist video
Upload
A uploaded video
Archive
An archived video
Highlight
A highlight
Premiere
A premiere
Rerun
A rerun
WatchParty
A watch party
WatchPartyPremiere
A watchparty premiere,
WatchPartyRerun
A watchparty rerun
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VideoType
impl<'de> Deserialize<'de> for VideoType
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
impl Eq for VideoType
impl StructuralPartialEq for VideoType
Auto Trait Implementations§
impl Freeze for VideoType
impl RefUnwindSafe for VideoType
impl Send for VideoType
impl Sync for VideoType
impl Unpin for VideoType
impl UnwindSafe for VideoType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)