Struct sunk::ArtistInfo
source · 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
sourceimpl Clone for ArtistInfo
impl Clone for ArtistInfo
sourcefn clone(&self) -> ArtistInfo
fn clone(&self) -> ArtistInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ArtistInfo
impl Debug for ArtistInfo
sourceimpl<'de> Deserialize<'de> for ArtistInfo
impl<'de> Deserialize<'de> for ArtistInfo
sourcefn 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 RefUnwindSafe for ArtistInfo
impl Send for ArtistInfo
impl Sync for ArtistInfo
impl Unpin for ArtistInfo
impl UnwindSafe for ArtistInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more