pub struct SourcedWorkLink {
pub recording_id: Id,
pub work: WorkLink,
pub source: String,
pub confidence: Confidence,
pub review: Option<ReviewDecision>,
pub trusted: bool,
pub fetched_at: u64,
}Expand description
A work relationship placed on a local recording, while retaining its source.
This is a read-only reconciliation view. It deliberately does not alter
crate::model::Catalog: a scan rebuilds that catalog from local files,
whereas a source claim must remain attributable, reviewable and removable.
Fields§
§recording_id: IdThe local recording the source record is attached to through its track.
work: WorkLinkThe composition MusicBrainz linked to that recording.
source: StringThe service making the assertion.
confidence: ConfidenceHow firmly the source record was attached to the local file.
review: Option<ReviewDecision>Explicit review decision, when the owner made one.
trusted: boolWhether this claim is safe to traverse after confidence, conflicts and the explicit review have all been considered.
fetched_at: u64When the assertion was fetched.
Trait Implementations§
Source§impl Clone for SourcedWorkLink
impl Clone for SourcedWorkLink
Source§fn clone(&self) -> SourcedWorkLink
fn clone(&self) -> SourcedWorkLink
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 SourcedWorkLink
impl Debug for SourcedWorkLink
Source§impl PartialEq for SourcedWorkLink
impl PartialEq for SourcedWorkLink
impl Eq for SourcedWorkLink
impl StructuralPartialEq for SourcedWorkLink
Auto Trait Implementations§
impl Freeze for SourcedWorkLink
impl RefUnwindSafe for SourcedWorkLink
impl Send for SourcedWorkLink
impl Sync for SourcedWorkLink
impl Unpin for SourcedWorkLink
impl UnwindSafe for SourcedWorkLink
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