pub struct Absent<'a> {
pub artist: String,
pub held_back: Option<String>,
pub set_aside: bool,
pub artist_id: Id,
pub known: &'a KnownRelease,
}Expand description
One record credited to an artist that this catalog does not hold.
Fields§
§artist: StringThe artist, as the catalog spells them.
held_back: Option<String>Why this row is not normally on the report, and None when it is.
Two quite different reasons, in one field because they answer one
question — why am I not being shown this — and because a record can
be both: a live album the reader also set aside. The words for the
first are MusicBrainz’s own; see KnownRelease::stated_type.
set_aside: booltrue when the reader set this one aside and asked to see it anyway.
artist_id: IdWhich artist, for a caller asking about one rather than about all.
known: &'a KnownReleaseThe record MusicBrainz credits to them.
Auto Trait Implementations§
impl<'a> Freeze for Absent<'a>
impl<'a> RefUnwindSafe for Absent<'a>
impl<'a> Send for Absent<'a>
impl<'a> Sync for Absent<'a>
impl<'a> Unpin for Absent<'a>
impl<'a> UnwindSafe for Absent<'a>
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