pub enum Genre {
Show 22 variants
Rock,
Pop,
RapHipHop,
EasyListen,
DanceHouse,
Instrumental,
Metal,
Alternative,
Dubstep,
JazzBlues,
DrumBass,
Trance,
Chanson,
Ethnic,
AcousticVocal,
Reggae,
Classical,
IndiePop,
Speech,
ElectropopDisco,
Other,
Unknown(u32),
}
Variants
Rock
Pop
RapHipHop
EasyListen
DanceHouse
Instrumental
Metal
Alternative
Dubstep
JazzBlues
DrumBass
Trance
Chanson
Ethnic
AcousticVocal
Reggae
Classical
IndiePop
Speech
ElectropopDisco
Other
Unknown(u32)
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Genre
impl<'de> Deserialize<'de> for Genre
sourcefn deserialize<D: Deserializer<'de>>(d: D) -> Result<Genre, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Genre, D::Error>
Deserialize this value from the given Serde deserializer. Read more
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
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.