pub struct PlaylistStore {
pub playlists: Vec<Playlist>,
pub folders: Vec<PlaylistFolder>,
}Expand description
The in-memory playlist read model for the active source (built by the DB layer, never serialized). One uniform list — local vs server is the active source context, not a per-row split.
Fields§
§playlists: Vec<Playlist>§folders: Vec<PlaylistFolder>Trait Implementations§
Source§impl Clone for PlaylistStore
impl Clone for PlaylistStore
Source§fn clone(&self) -> PlaylistStore
fn clone(&self) -> PlaylistStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlaylistStore
impl Debug for PlaylistStore
Source§impl Default for PlaylistStore
impl Default for PlaylistStore
Source§fn default() -> PlaylistStore
fn default() -> PlaylistStore
Returns the “default value” for a type. Read more
Source§impl PartialEq for PlaylistStore
impl PartialEq for PlaylistStore
Source§fn eq(&self, other: &PlaylistStore) -> bool
fn eq(&self, other: &PlaylistStore) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlaylistStore
Auto Trait Implementations§
impl Freeze for PlaylistStore
impl RefUnwindSafe for PlaylistStore
impl Send for PlaylistStore
impl Sync for PlaylistStore
impl Unpin for PlaylistStore
impl UnsafeUnpin for PlaylistStore
impl UnwindSafe for PlaylistStore
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