Enum musicbrainz_rs::entity::release::ReleasePackaging
source · #[non_exhaustive]
pub enum ReleasePackaging {
Show 20 variants
Book,
Box,
CardboardPaperSleeve,
CassetteCase,
Digibook,
Digipak,
DiscboxSlider,
Fatbox,
GatefoldCover,
JewelCase,
KeepCase,
PlasticSleeve,
Slidepack,
SlimJewelCase,
SnapCase,
Snappack,
SuperJewelBox,
Other,
None,
UnrecognizedReleasePackaging,
}
Expand description
The type of packaging of a MusicBrainz release 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_packaging
table in the MusicBrainz database.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Book
Box
CardboardPaperSleeve
CassetteCase
Digibook
A perfect bound book with a sleeve at the end to hold a CD
Digipak
DiscboxSlider
Fatbox
GatefoldCover
JewelCase
The traditional CD case, made of hard, brittle plastic.
KeepCase
PlasticSleeve
Slidepack
Plastic CD tray inside a cardboard slipcover
SlimJewelCase
A thinner jewel case, commonly used for CD singles.
SnapCase
Snappack
Japanese case that holds an 8cm CD. It is rectangular but can be snapped to make it more compact (hence the name).
SuperJewelBox
Other
None
UnrecognizedReleasePackaging
Any release_packaging that does not yet have a corresponding variant in this enum.
If you ever see a ReleasePackaging::UnrecognizedReleasePackaging
in the wild, let us know and file an issue/pull request!
Trait Implementations§
source§impl Clone for ReleasePackaging
impl Clone for ReleasePackaging
source§fn clone(&self) -> ReleasePackaging
fn clone(&self) -> ReleasePackaging
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReleasePackaging
impl Debug for ReleasePackaging
source§impl<'de> Deserialize<'de> for ReleasePackaging
impl<'de> Deserialize<'de> for ReleasePackaging
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<ReleasePackaging> for ReleasePackaging
impl PartialEq<ReleasePackaging> for ReleasePackaging
source§fn eq(&self, other: &ReleasePackaging) -> bool
fn eq(&self, other: &ReleasePackaging) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReleasePackaging
impl Serialize for ReleasePackaging
impl Eq for ReleasePackaging
impl StructuralEq for ReleasePackaging
impl StructuralPartialEq for ReleasePackaging
Auto Trait Implementations§
impl RefUnwindSafe for ReleasePackaging
impl Send for ReleasePackaging
impl Sync for ReleasePackaging
impl Unpin for ReleasePackaging
impl UnwindSafe for ReleasePackaging
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.