Enum musicbrainz_rs::entity::release::ReleaseStatus
source · #[non_exhaustive]
pub enum ReleaseStatus {
Official,
Promotion,
Bootleg,
PseudoRelease,
UnrecognizedReleaseStatus,
}
Expand description
The release status describes how “official” a release is.
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_status
table in the MusicBrainz database.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Official
Any release officially sanctioned by the artist and/or their record company. Most releases will fit into this category.
Promotion
A give-away release or a release intended to promote an upcoming official release (e.g. pre-release versions, releases included with a magazine, versions supplied to radio DJs for air-play).
Bootleg
An unofficial/underground release that was not sanctioned by the artist and/or the record company. This includes unofficial live recordings and pirated releases.
PseudoRelease
An alternate version of a release where the titles have been changed. These don’t correspond to any real release and should be linked to the original release using the transl(iter)ation transl(iter)ation relationship.
UnrecognizedReleaseStatus
Any release_status that does not yet have a corresponding variant in this enum.
If you ever see a ReleaseStatus::UnrecognizedReleaseStatus
in the wild, let us know and file an issue/pull request!
Trait Implementations§
source§impl Clone for ReleaseStatus
impl Clone for ReleaseStatus
source§fn clone(&self) -> ReleaseStatus
fn clone(&self) -> ReleaseStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReleaseStatus
impl Debug for ReleaseStatus
source§impl<'de> Deserialize<'de> for ReleaseStatus
impl<'de> Deserialize<'de> for ReleaseStatus
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>,
source§impl PartialEq<ReleaseStatus> for ReleaseStatus
impl PartialEq<ReleaseStatus> for ReleaseStatus
source§fn eq(&self, other: &ReleaseStatus) -> bool
fn eq(&self, other: &ReleaseStatus) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReleaseStatus
impl Serialize for ReleaseStatus
impl Eq for ReleaseStatus
impl StructuralEq for ReleaseStatus
impl StructuralPartialEq for ReleaseStatus
Auto Trait Implementations§
impl RefUnwindSafe for ReleaseStatus
impl Send for ReleaseStatus
impl Sync for ReleaseStatus
impl Unpin for ReleaseStatus
impl UnwindSafe for ReleaseStatus
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
key
and return true
if they are equal.