#[repr(u8)]pub enum Category {
Show 25 variants
Any = 0,
GeneralKnowledge = 9,
Books = 10,
Film = 11,
Music = 12,
MusicalAndTheatres = 13,
Television = 14,
VideoGames = 15,
BoardGames = 16,
ScienceAndNature = 17,
Computers = 18,
Mathematics = 19,
Mythology = 20,
Sports = 21,
Geography = 22,
History = 23,
Politics = 24,
Art = 25,
Celebrities = 26,
Animals = 27,
Vehicles = 28,
Comics = 29,
Gadgets = 30,
JapaneseAnimeAndManga = 31,
CartoonAndAnimations = 32,
}Expand description
The category of a question.
Variants§
Any = 0
GeneralKnowledge = 9
Books = 10
Film = 11
Music = 12
MusicalAndTheatres = 13
Television = 14
VideoGames = 15
BoardGames = 16
ScienceAndNature = 17
Computers = 18
Mathematics = 19
Mythology = 20
Sports = 21
Geography = 22
History = 23
Politics = 24
Art = 25
Celebrities = 26
Animals = 27
Vehicles = 28
Comics = 29
Gadgets = 30
JapaneseAnimeAndManga = 31
CartoonAndAnimations = 32
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Category
impl<'de> Deserialize<'de> for Category
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 Copy for Category
impl Eq for Category
impl StructuralPartialEq for Category
Auto Trait Implementations§
impl Freeze for Category
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnwindSafe for Category
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.