pub struct SourcedWork {
pub mbid: String,
pub title: String,
pub links: Vec<SourcedWorkLink>,
}Expand description
One externally described composition, grouped without losing its evidence.
A work fetched from MusicBrainz is useful for navigation before the audio
files carry a MUSICBRAINZ_WORKID, but it does not thereby become a local
fact. Every relationship remains available in links, with its source,
confidence and fetch date.
Fields§
§mbid: StringMusicBrainz work identifier; the only identity used for grouping.
title: StringBest non-empty title supplied by the source.
links: Vec<SourcedWorkLink>Recording relationships that justify this external work view.
Trait Implementations§
Source§impl Clone for SourcedWork
impl Clone for SourcedWork
Source§fn clone(&self) -> SourcedWork
fn clone(&self) -> SourcedWork
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 SourcedWork
impl Debug for SourcedWork
Source§impl PartialEq for SourcedWork
impl PartialEq for SourcedWork
impl Eq for SourcedWork
impl StructuralPartialEq for SourcedWork
Auto Trait Implementations§
impl Freeze for SourcedWork
impl RefUnwindSafe for SourcedWork
impl Send for SourcedWork
impl Sync for SourcedWork
impl Unpin for SourcedWork
impl UnwindSafe for SourcedWork
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