pub struct Album {Show 14 fields
pub album_type: AlbumType,
pub total_tracks: i32,
pub available_markets: Vec<String>,
pub spotify_url: String,
pub href: String,
pub id: String,
pub images: Vec<SpotifyImage>,
pub name: String,
pub release_date: Option<NaiveDate>,
pub release_date_precision: ReleaseDatePrecision,
pub restriction_reason: RestrictionReason,
pub uri: String,
pub artists: Option<Vec<Artist>>,
pub tracks: Option<SpotifyCollection<Track>>,
}
Expand description
Struct to represent Album
Fields§
§album_type: AlbumType
§total_tracks: i32
§available_markets: Vec<String>
§spotify_url: String
§href: String
§id: String
§images: Vec<SpotifyImage>
§name: String
§release_date: Option<NaiveDate>
§release_date_precision: ReleaseDatePrecision
§restriction_reason: RestrictionReason
§uri: String
§artists: Option<Vec<Artist>>
§tracks: Option<SpotifyCollection<Track>>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Album
impl Send for Album
impl Sync for Album
impl Unpin for Album
impl UnwindSafe for Album
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