pub struct WorkParentLink {
pub mbid: String,
pub title: String,
pub relation_id: Option<String>,
pub relation_type_id: Option<String>,
pub direction: Option<String>,
pub attributes: Vec<CreditAttribute>,
pub order: Option<u32>,
}Expand description
One source-asserted part-of-work relationship, directed child → parent.
Fields§
§mbid: StringExact identity of the containing work; a matching title is insufficient.
title: StringTitle supplied for the containing work.
relation_id: Option<String>Identifier of this exact MusicBrainz relationship.
relation_type_id: Option<String>Stable MusicBrainz relationship type identifier.
direction: Option<String>Direction as returned for the child work.
attributes: Vec<CreditAttribute>Qualifiers such as movement, act or part of collection.
order: Option<u32>MusicBrainz ordering key when available.
Trait Implementations§
Source§impl Clone for WorkParentLink
impl Clone for WorkParentLink
Source§fn clone(&self) -> WorkParentLink
fn clone(&self) -> WorkParentLink
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 WorkParentLink
impl Debug for WorkParentLink
Source§impl Default for WorkParentLink
impl Default for WorkParentLink
Source§fn default() -> WorkParentLink
fn default() -> WorkParentLink
Returns the “default value” for a type. Read more
Source§impl PartialEq for WorkParentLink
impl PartialEq for WorkParentLink
impl Eq for WorkParentLink
impl StructuralPartialEq for WorkParentLink
Auto Trait Implementations§
impl Freeze for WorkParentLink
impl RefUnwindSafe for WorkParentLink
impl Send for WorkParentLink
impl Sync for WorkParentLink
impl Unpin for WorkParentLink
impl UnwindSafe for WorkParentLink
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