[][src]Struct aspotify::model::Artist

pub struct Artist {
    pub followers: Followers,
    pub genres: Vec<String>,
    pub images: Vec<Image>,
    pub popularity: u32,
    pub external_urls: HashMap<String, String>,
    pub id: String,
    pub name: String,
}

An artist object.

Fields

followers: Followers

Information about the followers of this artist.

genres: Vec<String>

A list of the genres this artist is associated with. For example: "Prog Rock", "Post-Grunge". If not yet classified, the array is empty.

images: Vec<Image>

Images of the artist in various sizes, widest first.

popularity: u32

The popularity of the artist. The value will be between 0 and 100, with 100 being the most popular. The artist's popularity is calculated from the popularity of all the artist's tracks.

external_urls: HashMap<String, String>

Known external URLs for this artist.

id: String

The Spotify ID for the artist.

name: String

The name of the artist.

Trait Implementations

impl Clone for Artist[src]

impl Debug for Artist[src]

impl<'de> Deserialize<'de> for Artist[src]

impl Eq for Artist[src]

impl PartialEq<Artist> for Artist[src]

impl Serialize for Artist[src]

impl StructuralEq for Artist[src]

impl StructuralPartialEq for Artist[src]

Auto Trait Implementations

impl RefUnwindSafe for Artist

impl Send for Artist

impl Sync for Artist

impl Unpin for Artist

impl UnwindSafe for Artist

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,