#[repr(u8)]pub enum Genre {
Show 14 variants
Any,
Unspecified,
VideoGame,
Anime,
Rock,
Pop,
Other,
Novelty,
HipHop,
Electronic,
Metal,
Classical,
Folk,
Jazz,
}
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Genre
impl<'de> Deserialize<'de> for Genre
source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Genre> for Genre
impl PartialEq<Genre> for Genre
impl Copy for Genre
impl Eq for Genre
impl StructuralEq for Genre
impl StructuralPartialEq for Genre
Auto Trait Implementations§
impl RefUnwindSafe for Genre
impl Send for Genre
impl Sync for Genre
impl Unpin for Genre
impl UnwindSafe for Genre
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<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.