pub struct Playlist {
pub id: i64,
pub name: Option<String>,
pub modified: i64,
pub length: i64,
pub entries: Vec<PlaylistEntry>,
}Fields§
§id: i64unique id for the current queue state
name: Option<String>The current play queue name.
modified: i640 means the queue hasn’t been modified since it was loaded. 1 means the queue has been modified since it was loaded.
length: i64total number of tracks in the current queue
entries: Vec<PlaylistEntry>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Playlist
impl<'de> Deserialize<'de> for Playlist
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
impl StructuralPartialEq for Playlist
Auto Trait Implementations§
impl Freeze for Playlist
impl RefUnwindSafe for Playlist
impl Send for Playlist
impl Sync for Playlist
impl Unpin for Playlist
impl UnsafeUnpin for Playlist
impl UnwindSafe for Playlist
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