pub struct ReleaseTrackList {
pub items: Option<Vec<ReleaseTrack>>,
pub total: Option<i32>,
}Expand description
Release track list model containing a list of tracks in a release
This struct represents a list of tracks in a release along with the total count.
§Examples
use qobuz_api_rust::models::{ReleaseTrackList, ReleaseTrack};
let track_list = ReleaseTrackList {
items: Some(vec![ReleaseTrack::default()]),
total: Some(10),
};Fields§
§items: Option<Vec<ReleaseTrack>>List of tracks in the release
total: Option<i32>Total number of tracks in the release
Trait Implementations§
Source§impl Clone for ReleaseTrackList
impl Clone for ReleaseTrackList
Source§fn clone(&self) -> ReleaseTrackList
fn clone(&self) -> ReleaseTrackList
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 ReleaseTrackList
impl Debug for ReleaseTrackList
Source§impl Default for ReleaseTrackList
impl Default for ReleaseTrackList
Source§fn default() -> ReleaseTrackList
fn default() -> ReleaseTrackList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReleaseTrackList
impl<'de> Deserialize<'de> for ReleaseTrackList
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 ReleaseTrackList
impl RefUnwindSafe for ReleaseTrackList
impl Send for ReleaseTrackList
impl Sync for ReleaseTrackList
impl Unpin for ReleaseTrackList
impl UnwindSafe for ReleaseTrackList
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