pub struct PlayHistory {
pub track: Track,
pub played_at: String,
pub context: Option<PlaybackContext>,
}Expand description
Recently played item.
Fields§
§track: TrackThe track that was played.
played_at: StringWhen the track was played.
context: Option<PlaybackContext>Playback context.
Trait Implementations§
Source§impl Clone for PlayHistory
impl Clone for PlayHistory
Source§fn clone(&self) -> PlayHistory
fn clone(&self) -> PlayHistory
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 PlayHistory
impl Debug for PlayHistory
Source§impl<'de> Deserialize<'de> for PlayHistory
impl<'de> Deserialize<'de> for PlayHistory
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 PlayHistory
impl RefUnwindSafe for PlayHistory
impl Send for PlayHistory
impl Sync for PlayHistory
impl Unpin for PlayHistory
impl UnwindSafe for PlayHistory
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