#[repr(u32)]pub enum VideoCategory {
Show 31 variants
FilmAnimation = 1,
AutosVehicles = 2,
Music = 10,
PetsAnimals = 15,
Sports = 17,
ShortMovies = 18,
TravelEvents = 19,
Gaming = 20,
Videoblogging = 21,
PeopleBlogs = 22,
Comedy = 23,
Entertainment = 24,
NewsPolitics = 25,
HowtoStyle = 26,
Education = 27,
ScienceTechnology = 28,
NonprofitsActivism = 29,
Movies = 30,
AnimationAnime = 31,
ActionAdventure = 32,
Classics = 33,
ComedyFilm = 34,
Documentary = 35,
Drama = 36,
Family = 37,
Foreign = 38,
Horror = 39,
SciFiFantasy = 40,
Thriller = 41,
Shorts = 42,
Shows = 43,
}Expand description
YouTube video category IDs.
See: https://developers.google.com/youtube/v3/docs/videoCategories/list
Variants§
FilmAnimation = 1
AutosVehicles = 2
Music = 10
PetsAnimals = 15
Sports = 17
ShortMovies = 18
TravelEvents = 19
Gaming = 20
Videoblogging = 21
PeopleBlogs = 22
Comedy = 23
Entertainment = 24
NewsPolitics = 25
HowtoStyle = 26
Education = 27
ScienceTechnology = 28
NonprofitsActivism = 29
Movies = 30
AnimationAnime = 31
ActionAdventure = 32
Classics = 33
ComedyFilm = 34
Documentary = 35
Drama = 36
Family = 37
Foreign = 38
Horror = 39
SciFiFantasy = 40
Thriller = 41
Shorts = 42
Shows = 43
Implementations§
Trait Implementations§
Source§impl Clone for VideoCategory
impl Clone for VideoCategory
Source§fn clone(&self) -> VideoCategory
fn clone(&self) -> VideoCategory
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VideoCategory
impl Debug for VideoCategory
Source§impl Default for VideoCategory
impl Default for VideoCategory
Source§fn default() -> VideoCategory
fn default() -> VideoCategory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VideoCategory
impl<'de> Deserialize<'de> for VideoCategory
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
Source§impl PartialEq for VideoCategory
impl PartialEq for VideoCategory
Source§impl Serialize for VideoCategory
impl Serialize for VideoCategory
impl Copy for VideoCategory
impl StructuralPartialEq for VideoCategory
Auto Trait Implementations§
impl Freeze for VideoCategory
impl RefUnwindSafe for VideoCategory
impl Send for VideoCategory
impl Sync for VideoCategory
impl Unpin for VideoCategory
impl UnsafeUnpin for VideoCategory
impl UnwindSafe for VideoCategory
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