pub struct PlaylistEntry {
pub id: usize,
pub filename: String,
pub title: Option<String>,
pub current: bool,
}
Expand description
A single entry in the mpv playlist.
Fields§
§id: usize
§filename: String
§title: Option<String>
§current: bool
Trait Implementations§
source§impl Clone for PlaylistEntry
impl Clone for PlaylistEntry
source§fn clone(&self) -> PlaylistEntry
fn clone(&self) -> PlaylistEntry
Returns a copy 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 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
source§impl PartialEq for PlaylistEntry
impl PartialEq for PlaylistEntry
source§impl Serialize for PlaylistEntry
impl Serialize for PlaylistEntry
impl Eq for PlaylistEntry
impl StructuralPartialEq for PlaylistEntry
Auto Trait Implementations§
impl Freeze for PlaylistEntry
impl RefUnwindSafe for PlaylistEntry
impl Send for PlaylistEntry
impl Sync for PlaylistEntry
impl Unpin 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)