pub struct PlaylistTrack {
pub added_at: Option<String>,
pub added_by: Option<UserPublic>,
pub is_local: Option<bool>,
pub track: Option<Track>,
}Expand description
Track in a playlist (wraps track with metadata).
Fields§
§added_at: Option<String>When the track was added.
added_by: Option<UserPublic>User who added the track.
is_local: Option<bool>Whether the track is a local file.
track: Option<Track>The track (can be null for deleted tracks).
Trait Implementations§
Source§impl Clone for PlaylistTrack
impl Clone for PlaylistTrack
Source§fn clone(&self) -> PlaylistTrack
fn clone(&self) -> PlaylistTrack
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 PlaylistTrack
impl Debug for PlaylistTrack
Source§impl<'de> Deserialize<'de> for PlaylistTrack
impl<'de> Deserialize<'de> for PlaylistTrack
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 PlaylistTrack
impl RefUnwindSafe for PlaylistTrack
impl Send for PlaylistTrack
impl Sync for PlaylistTrack
impl Unpin for PlaylistTrack
impl UnwindSafe for PlaylistTrack
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