pub struct ArtistInfo {
pub biography: String,
pub musicbrainz_id: String,
pub lastfm_url: String,
pub image_urls: (String, String, String),
/* private fields */
}
Expand description
Detailed information about an artist.
Fields§
§biography: String
A blurb about the artist.
musicbrainz_id: String
The artist’s MusicBrainz ID.
lastfm_url: String
The artist’s last.fm landing page.
image_urls: (String, String, String)
URLs for the artist’s image; available in small, medium, and large.
Trait Implementations§
Source§impl Clone for ArtistInfo
impl Clone for ArtistInfo
Source§fn clone(&self) -> ArtistInfo
fn clone(&self) -> ArtistInfo
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 ArtistInfo
impl Debug for ArtistInfo
Source§impl<'de> Deserialize<'de> for ArtistInfo
impl<'de> Deserialize<'de> for ArtistInfo
Source§fn deserialize<D>(de: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(de: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ArtistInfo
impl RefUnwindSafe for ArtistInfo
impl Send for ArtistInfo
impl Sync for ArtistInfo
impl Unpin for ArtistInfo
impl UnwindSafe for ArtistInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more