pub struct CreditLink {
pub relation_id: Option<String>,
pub role_id: Option<String>,
pub role: String,
pub direction: Option<String>,
pub artist_mbid: String,
pub artist_name: String,
pub credited_as: Option<String>,
pub attributes: Vec<CreditAttribute>,
pub began: Option<String>,
pub ended: Option<String>,
pub over: Option<bool>,
pub order: Option<u32>,
}Expand description
One artist relationship asserted by MusicBrainz.
Fields§
§relation_id: Option<String>Relationship row identifier, when the web service exposes it.
role_id: Option<String>Stable identifier of the relationship type.
role: StringHuman-readable relationship type: performer, producer, composer…
direction: Option<String>Direction of the MusicBrainz relationship from the queried entity.
artist_mbid: StringMusicBrainz artist identifier.
artist_name: StringCanonical artist name returned by MusicBrainz.
credited_as: Option<String>Name under which the artist was actually credited.
attributes: Vec<CreditAttribute>Instruments, qualifiers and other relationship attributes.
began: Option<String>Optional beginning of the relationship’s validity period.
ended: Option<String>Optional end of the relationship’s validity period.
over: Option<bool>Whether MusicBrainz explicitly marks the relationship as ended.
order: Option<u32>Ordering key supplied by MusicBrainz.
Trait Implementations§
Source§impl Clone for CreditLink
impl Clone for CreditLink
Source§fn clone(&self) -> CreditLink
fn clone(&self) -> CreditLink
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 CreditLink
impl Debug for CreditLink
Source§impl PartialEq for CreditLink
impl PartialEq for CreditLink
impl Eq for CreditLink
impl StructuralPartialEq for CreditLink
Auto Trait Implementations§
impl Freeze for CreditLink
impl RefUnwindSafe for CreditLink
impl Send for CreditLink
impl Sync for CreditLink
impl Unpin for CreditLink
impl UnwindSafe for CreditLink
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