pub struct Work {
pub id: Id,
pub title: String,
pub key: String,
pub mbid: String,
pub recording_ids: Vec<Id>,
}Expand description
A musical composition, distinct from every recording that realizes it.
An œuvre is created only from an explicit MusicBrainz work identifier. A title is descriptive, not identity: a cover, a live performance and an unrelated song may all share it.
Fields§
§id: IdPosition in Catalog::works.
title: StringTitle supplied by the local work tag, or the recording title as a display fallback when the identifier is known but no title is tagged.
key: StringNormalized display/search key; never used to merge works.
mbid: StringMusicBrainz work identifier.
recording_ids: Vec<Id>Recordings known to realize this composition.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Work
impl RefUnwindSafe for Work
impl Send for Work
impl Sync for Work
impl Unpin for Work
impl UnwindSafe for Work
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