Struct rspotify_model::album::FullAlbum
source · [−]pub struct FullAlbum {Show 16 fields
pub artists: Vec<SimplifiedArtist>,
pub album_type: AlbumType,
pub available_markets: Option<Vec<String>>,
pub copyrights: Vec<Copyright>,
pub external_ids: HashMap<String, String>,
pub external_urls: HashMap<String, String>,
pub genres: Vec<String>,
pub href: String,
pub id: AlbumId,
pub images: Vec<Image>,
pub name: String,
pub popularity: u32,
pub release_date: String,
pub release_date_precision: DatePrecision,
pub tracks: Page<SimplifiedTrack>,
pub label: Option<String>,
}
Expand description
Full Album Object
Fields
artists: Vec<SimplifiedArtist>
album_type: AlbumType
available_markets: Option<Vec<String>>
copyrights: Vec<Copyright>
external_ids: HashMap<String, String>
external_urls: HashMap<String, String>
genres: Vec<String>
href: String
id: AlbumId
images: Vec<Image>
name: String
popularity: u32
release_date: String
release_date_precision: DatePrecision
tracks: Page<SimplifiedTrack>
label: Option<String>
Not documented in official Spotify docs, however most albums do contain this field
Trait Implementations
sourceimpl<'de> Deserialize<'de> for FullAlbum
impl<'de> Deserialize<'de> for FullAlbum
sourcefn 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
impl StructuralPartialEq for FullAlbum
Auto Trait Implementations
impl RefUnwindSafe for FullAlbum
impl Send for FullAlbum
impl Sync for FullAlbum
impl Unpin for FullAlbum
impl UnwindSafe for FullAlbum
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more