pub struct AlbumSimplified {Show 14 fields
pub album_type: Option<String>,
pub total_tracks: Option<u32>,
pub available_markets: Option<Vec<String>>,
pub external_urls: Option<ExternalUrls>,
pub href: Option<String>,
pub id: String,
pub images: Option<Vec<Image>>,
pub name: String,
pub release_date: Option<String>,
pub release_date_precision: Option<String>,
pub restrictions: Option<Restrictions>,
pub item_type: String,
pub uri: String,
pub artists: Option<Vec<ArtistSimplified>>,
}Expand description
Simplified album object (used in nested contexts).
Fields§
§album_type: Option<String>Album type.
total_tracks: Option<u32>Total number of tracks.
available_markets: Option<Vec<String>>Markets where the album is available.
external_urls: Option<ExternalUrls>External URLs.
href: Option<String>Spotify URL.
id: StringSpotify ID.
images: Option<Vec<Image>>Album cover images.
name: StringAlbum name.
release_date: Option<String>Release date (YYYY, YYYY-MM, or YYYY-MM-DD).
release_date_precision: Option<String>Release date precision.
restrictions: Option<Restrictions>Restrictions if any.
item_type: StringObject type (always “album”).
uri: StringSpotify URI.
artists: Option<Vec<ArtistSimplified>>Artists on the album.
Implementations§
Trait Implementations§
Source§impl Clone for AlbumSimplified
impl Clone for AlbumSimplified
Source§fn clone(&self) -> AlbumSimplified
fn clone(&self) -> AlbumSimplified
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 AlbumSimplified
impl Debug for AlbumSimplified
Source§impl<'de> Deserialize<'de> for AlbumSimplified
impl<'de> Deserialize<'de> for AlbumSimplified
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 AlbumSimplified
impl RefUnwindSafe for AlbumSimplified
impl Send for AlbumSimplified
impl Sync for AlbumSimplified
impl Unpin for AlbumSimplified
impl UnwindSafe for AlbumSimplified
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