pub struct Recording {
pub id: Id,
pub title: String,
pub key: String,
pub isrc: Option<String>,
pub mbid: Option<String>,
pub track_ids: Vec<Id>,
pub work_ids: Vec<Id>,
}Expand description
One recorded performance, independent of the local files and editions carrying it.
A recording without a MusicBrainz identifier starts as local to one track placement. It is deliberately not merged by title, duration or ISRC alone: the studio take, a live take and a cover often share some of those clues.
Fields§
§id: IdPosition in Catalog::recordings.
title: StringDisplay title from the first local placement that identified it.
key: StringNormalized title, useful for display searches but never identity alone.
isrc: Option<String>Industry code when the local placement carried one.
mbid: Option<String>MusicBrainz recording identifier, when local metadata supplied one.
track_ids: Vec<Id>Every local placement carrying this recording.
work_ids: Vec<Id>Compositions this performance realizes, when explicitly identified.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Recording
impl RefUnwindSafe for Recording
impl Send for Recording
impl Sync for Recording
impl Unpin for Recording
impl UnwindSafe for Recording
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