pub struct Album {Show 60 fields
pub id: Option<String>,
pub title: Option<String>,
pub subtitle: Option<String>,
pub version: Option<String>,
pub upc: Option<String>,
pub url: Option<String>,
pub product_url: Option<String>,
pub relative_url: Option<String>,
pub artist: Option<Box<Artist>>,
pub artists: Option<Vec<Box<Artist>>>,
pub composer: Option<Box<Artist>>,
pub label: Option<Label>,
pub genre: Option<Genre>,
pub genres_list: Option<Vec<String>>,
pub image: Option<Image>,
pub duration: Option<i64>,
pub tracks_count: Option<i32>,
pub media_count: Option<i32>,
pub released_at: Option<i64>,
pub release_date_download: Option<String>,
pub release_date_original: Option<String>,
pub release_date_stream: Option<String>,
pub created_at: Option<i64>,
pub purchasable_at: Option<i64>,
pub streamable_at: Option<i64>,
pub copyright: Option<String>,
pub description: Option<String>,
pub catchline: Option<String>,
pub recording_information: Option<String>,
pub maximum_bit_depth: Option<f64>,
pub maximum_channel_count: Option<f64>,
pub maximum_sampling_rate: Option<f64>,
pub maximum_technical_specifications: Option<String>,
pub hires: Option<bool>,
pub hires_streamable: Option<bool>,
pub displayable: Option<bool>,
pub downloadable: Option<bool>,
pub purchasable: Option<bool>,
pub streamable: Option<bool>,
pub previewable: Option<bool>,
pub sampleable: Option<bool>,
pub parental_warning: Option<bool>,
pub is_official: Option<bool>,
pub product_type: Option<String>,
pub release_type: Option<String>,
pub popularity: Option<i32>,
pub tracks: Option<ItemSearchResult<Box<Track>>>,
pub albums_same_artist: Option<AlbumsSameArtist>,
pub area: Option<Area>,
pub articles: Option<Vec<Article>>,
pub awards: Option<Vec<Award>>,
pub goodies: Option<Vec<Goody>>,
pub items_focus: Option<Vec<Focus>>,
pub period: Option<Period>,
pub product_sales_factors_monthly: Option<f64>,
pub product_sales_factors_weekly: Option<f64>,
pub product_sales_factors_yearly: Option<f64>,
pub qobuz_id: Option<i32>,
pub release_tags: Option<Vec<Value>>,
pub track_ids: Option<Vec<i32>>,
}Expand description
Album model representing an album on the Qobuz platform
This struct contains comprehensive information about an album including its identification, title, artists, label, genre, image, and various metadata.
§Examples
use qobuz_api_rust::models::Album;
let album = Album {
id: Some("123456".to_string()),
title: Some("Example Album".to_string()),
..Default::default()
};Fields§
§id: Option<String>Unique identifier for the album
title: Option<String>Title of the album
subtitle: Option<String>Subtitle of the album (if any)
version: Option<String>Version information for the album (e.g., “Deluxe Edition”)
upc: Option<String>Universal Product Code for the album
url: Option<String>URL to the album on Qobuz
product_url: Option<String>URL to the product page for the album
relative_url: Option<String>Relative URL to the album
artist: Option<Box<Artist>>Main artist associated with the album (boxed to handle recursive structures)
artists: Option<Vec<Box<Artist>>>List of all artists associated with the album (boxed to handle recursive structures)
composer: Option<Box<Artist>>Composer of the album (boxed to handle recursive structures)
label: Option<Label>Label information for the album
genre: Option<Genre>Genre information for the album
genres_list: Option<Vec<String>>List of genre names associated with the album
image: Option<Image>Image information for the album artwork
duration: Option<i64>Duration of the album in seconds
tracks_count: Option<i32>Total number of tracks in the album
media_count: Option<i32>Number of media (disks) in the album
released_at: Option<i64>Unix timestamp of when the album was released
release_date_download: Option<String>Date when the album became available for download
release_date_original: Option<String>Original release date of the album
release_date_stream: Option<String>Date when the album became available for streaming
created_at: Option<i64>Unix timestamp of when the album was created in the system
purchasable_at: Option<i64>Unix timestamp of when the album became purchasable
streamable_at: Option<i64>Unix timestamp of when the album became streamable
copyright: Option<String>Copyright information for the album
description: Option<String>Description of the album
catchline: Option<String>Catchline or tagline for the album
recording_information: Option<String>Recording information for the album
maximum_bit_depth: Option<f64>Maximum bit depth of the album’s audio files
maximum_channel_count: Option<f64>Maximum number of audio channels in the album’s files
maximum_sampling_rate: Option<f64>Maximum sampling rate of the album’s audio files
maximum_technical_specifications: Option<String>Maximum technical specifications for the album
hires: Option<bool>Whether the album is available in high-resolution format
hires_streamable: Option<bool>Whether the album is streamable in high-resolution format
displayable: Option<bool>Whether the album is displayable to users
downloadable: Option<bool>Whether the album is available for download
purchasable: Option<bool>Whether the album is available for purchase
streamable: Option<bool>Whether the album is available for streaming
previewable: Option<bool>Whether the album has preview tracks available
sampleable: Option<bool>Whether the album has sample tracks available
parental_warning: Option<bool>Whether the album has parental content warnings
is_official: Option<bool>Whether the album is an official release
product_type: Option<String>Type of product (e.g., “album”, “single”, “compilation”)
release_type: Option<String>Type of release (e.g., “album”, “single”, “ep”)
popularity: Option<i32>Popularity score for the album
tracks: Option<ItemSearchResult<Box<Track>>>Search results for tracks in the album
albums_same_artist: Option<AlbumsSameArtist>Albums by the same artist
area: Option<Area>Area information for the album
articles: Option<Vec<Article>>Articles related to the album
awards: Option<Vec<Award>>Awards received by the album
goodies: Option<Vec<Goody>>Goodies or bonus content related to the album
items_focus: Option<Vec<Focus>>Focus items related to the album
period: Option<Period>Period information for the album
product_sales_factors_monthly: Option<f64>Monthly product sales factor for the album
product_sales_factors_weekly: Option<f64>Weekly product sales factor for the album
product_sales_factors_yearly: Option<f64>Yearly product sales factor for the album
qobuz_id: Option<i32>Qobuz-specific ID for the album
Release tags associated with the album
track_ids: Option<Vec<i32>>List of track IDs included in the album