pub struct PlaylistPage {
pub playlist: PlaylistSummary,
pub entries: Vec<PlaylistEntry>,
pub offset: u32,
pub total: u32,
pub playable: u32,
pub place: Option<EntryId>,
pub settings: PlaySettings,
}Expand description
One page of a playlist’s entries (GetPlaylist). Items the user may
not see are neither listed nor counted.
Fields§
§playlist: PlaylistSummary§entries: Vec<PlaylistEntry>§offset: u32Where entries start in the whole list.
total: u32How many entries the whole list has.
playable: u32How many of them can be played now: total less the unavailable.
All’s (PX-43) is total: its files are looked at only as they
are listed and played, not all at every read.
place: Option<EntryId>The user’s place: the entry playing or last played, which
PlayPlaylist without from goes on from; None to start at the
top.
settings: PlaySettingsHow the user last played it.
Trait Implementations§
Source§impl Clone for PlaylistPage
impl Clone for PlaylistPage
Source§impl Debug for PlaylistPage
impl Debug for PlaylistPage
Source§impl<'de> Deserialize<'de> for PlaylistPage
impl<'de> Deserialize<'de> for PlaylistPage
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 PlaylistPage
Source§impl PartialEq for PlaylistPage
impl PartialEq for PlaylistPage
Source§impl Serialize for PlaylistPage
impl Serialize for PlaylistPage
impl StructuralPartialEq for PlaylistPage
Auto Trait Implementations§
impl Freeze for PlaylistPage
impl RefUnwindSafe for PlaylistPage
impl Send for PlaylistPage
impl Sync for PlaylistPage
impl Unpin for PlaylistPage
impl UnsafeUnpin for PlaylistPage
impl UnwindSafe for PlaylistPage
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