pub struct SourcedWorkParentLink {
pub recording_id: Id,
pub applicable_recording_ids: Arc<[Id]>,
pub child_mbid: String,
pub child_title: String,
pub parent: WorkParentLink,
pub source: String,
pub confidence: Confidence,
pub review: Option<ReviewDecision>,
pub trusted: bool,
pub fetched_at: u64,
}Expand description
A sourced child → parent work assertion attached to a local recording.
Fields§
§recording_id: IdThe local recording through which the child work was discovered.
applicable_recording_ids: Arc<[Id]>Performances of the child work to which this relationship applies.
child_mbid: StringExact identity of the child work.
child_title: StringTitle supplied for the child work.
parent: WorkParentLinkThe containing work and the source relationship’s details.
source: StringService making the assertion.
confidence: ConfidenceFirmness of the attachment to the local recording.
review: Option<ReviewDecision>Explicit review decision, if one exists.
trusted: boolWhether this relationship may be traversed.
fetched_at: u64Time at which the assertion was fetched.
Trait Implementations§
Source§impl Clone for SourcedWorkParentLink
impl Clone for SourcedWorkParentLink
Source§fn clone(&self) -> SourcedWorkParentLink
fn clone(&self) -> SourcedWorkParentLink
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 SourcedWorkParentLink
impl Debug for SourcedWorkParentLink
Source§impl PartialEq for SourcedWorkParentLink
impl PartialEq for SourcedWorkParentLink
impl Eq for SourcedWorkParentLink
impl StructuralPartialEq for SourcedWorkParentLink
Auto Trait Implementations§
impl Freeze for SourcedWorkParentLink
impl RefUnwindSafe for SourcedWorkParentLink
impl Send for SourcedWorkParentLink
impl Sync for SourcedWorkParentLink
impl Unpin for SourcedWorkParentLink
impl UnwindSafe for SourcedWorkParentLink
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