#[non_exhaustive]
pub enum ReleaseGroupSecondaryType {
AudioDrama,
Audiobook,
Compilation,
DjMix,
Demo,
Interview,
Live,
MixtapeStreet,
Remix,
Soundtrack,
Spokenword,
UnrecognizedReleaseGroupSecondaryType,
}
Expand description
The secondary type of a MusicBrainz release group entity.
Note that this enum is non_exhaustive
; The list of release types is subject to change and
these changes are only reflected in the DB, not in actual MB code.
Variants are derived from the release_group_secondary_type
table in the MusicBrainz database.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AudioDrama
Audiobook
Compilation
DjMix
Demo
Interview
Live
MixtapeStreet
Remix
Soundtrack
Spokenword
UnrecognizedReleaseGroupSecondaryType
Any release_group_secondary_type that does not yet have a corresponding variant in this enum.
If you ever see a ReleaseGroupSecondaryType::UnrecognizedReleaseGroupSecondaryType
in the wild, let us know and file an issue/pull request!
Trait Implementations§
source§impl Clone for ReleaseGroupSecondaryType
impl Clone for ReleaseGroupSecondaryType
source§fn clone(&self) -> ReleaseGroupSecondaryType
fn clone(&self) -> ReleaseGroupSecondaryType
Returns a copy 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 ReleaseGroupSecondaryType
impl Debug for ReleaseGroupSecondaryType
source§impl<'de> Deserialize<'de> for ReleaseGroupSecondaryType
impl<'de> Deserialize<'de> for ReleaseGroupSecondaryType
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<ReleaseGroupSecondaryType> for ReleaseGroupSecondaryType
impl PartialEq<ReleaseGroupSecondaryType> for ReleaseGroupSecondaryType
source§fn eq(&self, other: &ReleaseGroupSecondaryType) -> bool
fn eq(&self, other: &ReleaseGroupSecondaryType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ReleaseGroupSecondaryType
impl StructuralEq for ReleaseGroupSecondaryType
impl StructuralPartialEq for ReleaseGroupSecondaryType
Auto Trait Implementations§
impl RefUnwindSafe for ReleaseGroupSecondaryType
impl Send for ReleaseGroupSecondaryType
impl Sync for ReleaseGroupSecondaryType
impl Unpin for ReleaseGroupSecondaryType
impl UnwindSafe for ReleaseGroupSecondaryType
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.