Struct aspotify::model::ArtistSimplified [−][src]
pub struct ArtistSimplified {
pub id: Option<String>,
pub external_urls: HashMap<String, String>,
pub name: String,
pub item_type: TypeArtist,
}
Expand description
A simplified artist object.
Fields
id: Option<String>
The Spotify ID
for the artist. Only None
for local tracks on a playlist.
external_urls: HashMap<String, String>
Known external URLs for this artist.
name: String
The name of the artist.
item_type: TypeArtist
The object type; artist
.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ArtistSimplified
impl Send for ArtistSimplified
impl Sync for ArtistSimplified
impl Unpin for ArtistSimplified
impl UnwindSafe for ArtistSimplified
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more