pub struct ArtistSimplified {
pub external_urls: Option<ExternalUrls>,
pub href: Option<String>,
pub id: String,
pub name: String,
pub item_type: String,
pub uri: String,
}Expand description
Simplified artist object (used in nested contexts).
Fields§
§external_urls: Option<ExternalUrls>External URLs for the artist.
href: Option<String>Spotify URL for the artist.
id: StringSpotify ID.
name: StringArtist name.
item_type: StringObject type (always “artist”).
uri: StringSpotify URI.
Trait Implementations§
Source§impl Clone for ArtistSimplified
impl Clone for ArtistSimplified
Source§fn clone(&self) -> ArtistSimplified
fn clone(&self) -> ArtistSimplified
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 ArtistSimplified
impl Debug for ArtistSimplified
Source§impl<'de> Deserialize<'de> for ArtistSimplified
impl<'de> Deserialize<'de> for ArtistSimplified
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 ArtistSimplified
impl RefUnwindSafe for ArtistSimplified
impl Send for ArtistSimplified
impl Sync for ArtistSimplified
impl Unpin for ArtistSimplified
impl UnwindSafe for ArtistSimplified
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