pub struct Heard {
pub recording: String,
pub score: f64,
pub title: Option<String>,
pub artists: Vec<String>,
pub album: Option<String>,
}Expand description
What the service says one file is.
Fields§
§recording: StringThe MusicBrainz recording identifier — a performance, not a release.
score: f64How sure the service is, from 0 to 1, as it stated it.
title: Option<String>The recording’s title, when the answer carries one.
artists: Vec<String>The artists credited, in the order given.
album: Option<String>A release group the recording appears on, when one is named.
One of possibly many, and it is not “the album this file came from”: a recording sits on the original, the compilation and the reissue alike. It is here to make the answer readable, not to be believed over a tag.
Trait Implementations§
impl StructuralPartialEq for Heard
Auto Trait Implementations§
impl Freeze for Heard
impl RefUnwindSafe for Heard
impl Send for Heard
impl Sync for Heard
impl Unpin for Heard
impl UnwindSafe for Heard
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