pub struct Artist {
pub external_urls: Option<ExternalUrls>,
pub followers: Option<Followers>,
pub genres: Option<Vec<String>>,
pub href: Option<String>,
pub id: String,
pub images: Option<Vec<Image>>,
pub name: String,
pub popularity: Option<u32>,
pub item_type: String,
pub uri: String,
}Expand description
Full artist object.
Fields§
§external_urls: Option<ExternalUrls>External URLs.
followers: Option<Followers>Follower information.
genres: Option<Vec<String>>Genres associated with the artist.
href: Option<String>Spotify URL.
id: StringSpotify ID.
images: Option<Vec<Image>>Artist images.
name: StringArtist name.
popularity: Option<u32>Popularity score (0-100).
item_type: StringObject type (always “artist”).
uri: StringSpotify URI.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Artist
impl<'de> Deserialize<'de> for Artist
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __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 Artist
impl RefUnwindSafe for Artist
impl Send for Artist
impl Sync for Artist
impl Unpin for Artist
impl UnwindSafe for Artist
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