pub struct PlaylistEntry {
pub entry: EntryId,
pub item: Item,
pub unavailable: bool,
pub liked: bool,
}Expand description
One entry of a playlist, with its item as the catalog has it now and the user’s watch state on it.
Fields§
§entry: EntryId§item: ItemStill in the library, but its file cannot be read now (a drive offline, a file moved): shown, counted, skipped when playing.
liked: boolA track in the user’s Liked: its heart.
Trait Implementations§
Source§impl Clone for PlaylistEntry
impl Clone for PlaylistEntry
Source§impl Debug for PlaylistEntry
impl Debug for PlaylistEntry
Source§impl<'de> Deserialize<'de> for PlaylistEntry
impl<'de> Deserialize<'de> for PlaylistEntry
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 Eq for PlaylistEntry
Source§impl From<PlaylistNext> for PlaylistEntry
impl From<PlaylistNext> for PlaylistEntry
Source§fn from(next: PlaylistNext) -> Self
fn from(next: PlaylistNext) -> Self
The server only ever answers with an entry that plays.
Source§impl PartialEq for PlaylistEntry
impl PartialEq for PlaylistEntry
Source§impl Serialize for PlaylistEntry
impl Serialize for PlaylistEntry
impl StructuralPartialEq for PlaylistEntry
Auto Trait Implementations§
impl Forget for PlaylistEntry
impl Freeze for PlaylistEntry
impl Move for PlaylistEntry
impl RefUnwindSafe for PlaylistEntry
impl Send for PlaylistEntry
impl Sync for PlaylistEntry
impl Unpin for PlaylistEntry
impl UnsafeUnpin for PlaylistEntry
impl UnwindSafe for PlaylistEntry
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