Struct musicbrainz_rs::entity::release_group::ReleaseGroup
source · pub struct ReleaseGroup {Show 16 fields
pub id: String,
pub primary_type_id: Option<String>,
pub primary_type: Option<ReleaseGroupPrimaryType>,
pub secondary_type_ids: Vec<String>,
pub secondary_types: Vec<ReleaseGroupSecondaryType>,
pub first_release_date: Option<NaiveDate>,
pub title: String,
pub disambiguation: String,
pub relations: Option<Vec<Relation>>,
pub artist_credit: Option<Vec<ArtistCredit>>,
pub releases: Option<Vec<Release>>,
pub tags: Option<Vec<Tag>>,
pub rating: Option<Rating>,
pub aliases: Option<Vec<Alias>>,
pub genres: Option<Vec<Genre>>,
pub annotation: Option<String>,
}
Expand description
A release group, just as the name suggests, is used to group several different releases into a single logical entity. Every release belongs to one, and only one release group.
Fields§
§id: String
§primary_type_id: Option<String>
§primary_type: Option<ReleaseGroupPrimaryType>
The type describes what kind of releases the release group represents, for example album, single, soundtrack, compilation etc. See the Type subpage for a full list of release group types.
secondary_type_ids: Vec<String>
§secondary_types: Vec<ReleaseGroupSecondaryType>
§first_release_date: Option<NaiveDate>
§title: String
The title of a release group is usually very similar, if not the same, as the titles of the releases contained within it.
disambiguation: String
The disambiguation comments are fields in the database used to help distinguish identically named artists, labels and other entities.
relations: Option<Vec<Relation>>
Relationships are a way to represent all the different ways in which entities are connected to each other and to URLs outside MusicBrainz.
artist_credit: Option<Vec<ArtistCredit>>
Artist credits indicate who is the main credited artist (or artists) for releases, release groups, tracks and recordings, and how they are credited..
releases: Option<Vec<Release>>
Releases present in this release group.
rating: Option<Rating>
§aliases: Option<Vec<Alias>>
Aliases are alternate names for a release group.
genres: Option<Vec<Genre>>
Genres are currently supported in MusicBrainz as part of the tag system.
annotation: Option<String>
Annotations are text fields, functioning like a miniature wiki, that can be added to any existing artists, labels, recordings, releases, release groups and works.
Trait Implementations§
source§impl Browsable for ReleaseGroup
impl Browsable for ReleaseGroup
const COUNT_FIELD: &'static str = "release-group-count"
const OFFSET_FIELD: &'static str = "release-group-offset"
const ENTITIES_FIELD: &'static str = "release-groups"
source§impl Browse<'_> for ReleaseGroup
impl Browse<'_> for ReleaseGroup
source§impl Clone for ReleaseGroup
impl Clone for ReleaseGroup
source§fn clone(&self) -> ReleaseGroup
fn clone(&self) -> ReleaseGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl<'de> Deserialize<'de> for ReleaseGroupwhere
ReleaseGroup: Default,
impl<'de> Deserialize<'de> for ReleaseGroupwhere
ReleaseGroup: Default,
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 Fetch<'_> for ReleaseGroup
impl Fetch<'_> for ReleaseGroup
source§impl<'a> FetchCoverart<'a> for ReleaseGroup
impl<'a> FetchCoverart<'a> for ReleaseGroup
fn get_coverart(&self) -> FetchCoverartQuery<Self>
fn fetch_coverart() -> FetchCoverartQuery<Self>where
Self: Sized + Path<'a>,
source§impl PartialEq<ReleaseGroup> for ReleaseGroup
impl PartialEq<ReleaseGroup> for ReleaseGroup
source§fn eq(&self, other: &ReleaseGroup) -> bool
fn eq(&self, other: &ReleaseGroup) -> bool
self
and other
values to be equal, and is used
by ==
.