pub struct SimplifiedAlbumObject {Show 13 fields
pub album_type: String,
pub artists: Vec<ArtistObject>,
pub available_markets: Vec<String>,
pub external_urls: ExternalUrlObject,
pub href: String,
pub id: String,
pub images: Vec<ImageObject>,
pub name: String,
pub release_date: String,
pub release_date_precision: String,
pub restrictions: AlbumRestrictionObject,
pub _type: String,
pub uri: String,
}Expand description
Fields§
§album_type: StringThe type of the album: album, single, or compilation.
artists: Vec<ArtistObject>The artists of the album. Each artist object includes a link in href to more detailed information about the artist.
available_markets: Vec<String>The markets in which the album is available: ISO 3166-1 alpha-2 country codes. Note that an album is considered available in a market when at least 1 of its tracks is available in that market.
external_urls: ExternalUrlObjectKnown external URLs for this album.
href: StringA link to the Web API endpoint providing full details of the album.
id: StringThe Spotify ID for the album.
images: Vec<ImageObject>The cover art for the album in various sizes, widest first.
name: StringThe name of the album. In case of an album takedown, the value may be an empty string.
release_date: StringThe date the album was first released, for example “1981-12-15”. Depending on the precision, it might be shown as “1981” or “1981-12”.
release_date_precision: StringThe precision with which release_date value is known: “year” , “month” , or “day”.
restrictions: AlbumRestrictionObjectIncluded in the response when a content restriction is applied. See Restriction Object for more details.
_type: StringThe object type: “album“
uri: StringThe Spotify URI for the album.
Trait Implementations§
Source§impl Clone for SimplifiedAlbumObject
impl Clone for SimplifiedAlbumObject
Source§fn clone(&self) -> SimplifiedAlbumObject
fn clone(&self) -> SimplifiedAlbumObject
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SimplifiedAlbumObject
impl Debug for SimplifiedAlbumObject
Source§impl<'de> Deserialize<'de> for SimplifiedAlbumObject
impl<'de> Deserialize<'de> for SimplifiedAlbumObject
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>,
Source§impl PartialEq for SimplifiedAlbumObject
impl PartialEq for SimplifiedAlbumObject
Source§impl Serialize for SimplifiedAlbumObject
impl Serialize for SimplifiedAlbumObject
impl Eq for SimplifiedAlbumObject
impl StructuralPartialEq for SimplifiedAlbumObject
Auto Trait Implementations§
impl Freeze for SimplifiedAlbumObject
impl RefUnwindSafe for SimplifiedAlbumObject
impl Send for SimplifiedAlbumObject
impl Sync for SimplifiedAlbumObject
impl Unpin for SimplifiedAlbumObject
impl UnwindSafe for SimplifiedAlbumObject
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.