Struct musicbrainz_rs::entity::genre::Genre
source · Expand description
Genres are currently supported in MusicBrainz as part of the tag system. See Genre and supported genres for more information.
Fields§
§count: u32
§name: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for Genre
impl<'de> Deserialize<'de> for Genre
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<Genre> for Genre
impl PartialEq<Genre> 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<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.