pub struct RecentlyPlayedResponse {
pub href: Option<String>,
pub limit: Option<u32>,
pub next: Option<String>,
pub cursors: Option<RecentlyPlayedCursors>,
pub total: Option<u32>,
pub items: Vec<PlayHistory>,
}Expand description
Recently played response (cursor-paginated).
Fields§
§href: Option<String>URL to the API endpoint.
limit: Option<u32>Maximum number of items.
next: Option<String>URL to the next page.
cursors: Option<RecentlyPlayedCursors>Cursors for pagination.
total: Option<u32>Total count (may be null).
items: Vec<PlayHistory>The recently played items.
Trait Implementations§
Source§impl Clone for RecentlyPlayedResponse
impl Clone for RecentlyPlayedResponse
Source§fn clone(&self) -> RecentlyPlayedResponse
fn clone(&self) -> RecentlyPlayedResponse
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 RecentlyPlayedResponse
impl Debug for RecentlyPlayedResponse
Source§impl<'de> Deserialize<'de> for RecentlyPlayedResponse
impl<'de> Deserialize<'de> for RecentlyPlayedResponse
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 RecentlyPlayedResponse
impl RefUnwindSafe for RecentlyPlayedResponse
impl Send for RecentlyPlayedResponse
impl Sync for RecentlyPlayedResponse
impl Unpin for RecentlyPlayedResponse
impl UnwindSafe for RecentlyPlayedResponse
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