pub struct PlayItemRequest {
pub item_type: String,
pub id: String,
}Expand description
Request body for POST /play-item / POST /play-next / POST /play-later.
Fields§
§item_type: StringItem type (e.g. "songs", "albums", "playlists").
id: StringApple Music catalog ID (must be a string, not a number).
Trait Implementations§
Source§impl Clone for PlayItemRequest
impl Clone for PlayItemRequest
Source§fn clone(&self) -> PlayItemRequest
fn clone(&self) -> PlayItemRequest
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 PlayItemRequest
impl Debug for PlayItemRequest
Auto Trait Implementations§
impl Freeze for PlayItemRequest
impl RefUnwindSafe for PlayItemRequest
impl Send for PlayItemRequest
impl Sync for PlayItemRequest
impl Unpin for PlayItemRequest
impl UnsafeUnpin for PlayItemRequest
impl UnwindSafe for PlayItemRequest
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