pub struct ReleasesList {
pub has_more: Option<bool>,
pub items: Option<Vec<Release>>,
}Expand description
Releases list model containing a list of releases
This struct represents a paginated list of releases with information about whether more releases are available.
§Examples
use qobuz_api_rust::models::{ReleasesList, Release};
let releases_list = ReleasesList {
has_more: Some(true),
items: Some(vec![Release::default()]),
};Fields§
§has_more: Option<bool>Whether there are more releases available beyond the current list
items: Option<Vec<Release>>List of releases in the current page
Trait Implementations§
Source§impl Clone for ReleasesList
impl Clone for ReleasesList
Source§fn clone(&self) -> ReleasesList
fn clone(&self) -> ReleasesList
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 ReleasesList
impl Debug for ReleasesList
Source§impl Default for ReleasesList
impl Default for ReleasesList
Source§fn default() -> ReleasesList
fn default() -> ReleasesList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReleasesList
impl<'de> Deserialize<'de> for ReleasesList
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 ReleasesList
impl RefUnwindSafe for ReleasesList
impl Send for ReleasesList
impl Sync for ReleasesList
impl Unpin for ReleasesList
impl UnwindSafe for ReleasesList
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