pub struct ReleaseGroup {
pub id: Id,
pub title: String,
pub key: String,
pub mbid: String,
pub release_ids: Vec<Id>,
}Expand description
A work’s release identity shared by its editions.
This is MusicBrainz’s release group, not a title-based folder grouping: original pressings, remasters and regional editions meet here only when an explicit release-group identifier says they are the same musical release.
Fields§
§id: IdPosition in Catalog::release_groups.
title: StringTitle from the first local edition carrying the identifier.
key: StringNormalized title for display, never identity on its own.
mbid: StringMusicBrainz release-group identifier.
release_ids: Vec<Id>Local editions belonging to this group.
Trait Implementations§
Source§impl Clone for ReleaseGroup
impl Clone for ReleaseGroup
Source§fn clone(&self) -> ReleaseGroup
fn clone(&self) -> ReleaseGroup
Returns a duplicate 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 ReleaseGroup
impl Debug for ReleaseGroup
Source§impl Default for ReleaseGroup
impl Default for ReleaseGroup
Source§fn default() -> ReleaseGroup
fn default() -> ReleaseGroup
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReleaseGroup
impl RefUnwindSafe for ReleaseGroup
impl Send for ReleaseGroup
impl Sync for ReleaseGroup
impl Unpin for ReleaseGroup
impl UnwindSafe for ReleaseGroup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more