Struct musicbrainz_rs::entity::cdstub::CDStub
source · pub struct CDStub {
pub id: String,
pub count: u32,
pub title: String,
pub artist: String,
pub barcode: String,
}
Expand description
A CD stub is an anonymously submitted track list that contains a disc ID, barcode, comment field, and basic metadata like a release title and track names.
Fields§
§id: String
§count: u32
§title: String
the release title set on the CD stub
artist: String
the artist name set on the CD stub
barcode: String
the barcode set on the CD stub
Trait Implementations§
source§impl<'de> Deserialize<'de> for CDStub
impl<'de> Deserialize<'de> for CDStub
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<CDStub> for CDStub
impl PartialEq<CDStub> for CDStub
source§impl Searchable for CDStub
impl Searchable for CDStub
const CREATED_FIELD: &'static str = "created"
const COUNT_FIELD: &'static str = "count"
const OFFSET_FIELD: &'static str = "offset"
const ENTITIES_FIELD: &'static str = "cdstubs"
impl Eq for CDStub
impl StructuralEq for CDStub
impl StructuralPartialEq for CDStub
Auto Trait Implementations§
impl RefUnwindSafe for CDStub
impl Send for CDStub
impl Sync for CDStub
impl Unpin for CDStub
impl UnwindSafe for CDStub
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.