Struct spotifyrs::PlayedTrack
source · pub struct PlayedTrack {
pub track: Track,
pub played_at: Option<NaiveDateTime>,
pub context: Option<SpotifyContext>,
}
Expand description
Struct to represent track played by user (ie in recently played)
Fields§
§track: Track
§played_at: Option<NaiveDateTime>
§context: Option<SpotifyContext>
Trait Implementations§
source§impl Debug for PlayedTrack
impl Debug for PlayedTrack
Implements Debug trait for PlayedTrack struct
source§impl SpotifyObject for PlayedTrack
impl SpotifyObject for PlayedTrack
Auto Trait Implementations§
impl RefUnwindSafe for PlayedTrack
impl Send for PlayedTrack
impl Sync for PlayedTrack
impl Unpin for PlayedTrack
impl UnwindSafe for PlayedTrack
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