pub enum PlaybackOperation {
Start {
item_id: String,
position_ticks: i64,
context: Option<PlaybackContext>,
},
Progress {
item_id: String,
position_ticks: i64,
is_paused: bool,
},
Stopped {
item_id: String,
position_ticks: i64,
},
MarkPlayed {
item_id: String,
},
}Expand description
Playback operation types
Variants§
Trait Implementations§
Source§impl Clone for PlaybackOperation
impl Clone for PlaybackOperation
Source§fn clone(&self) -> PlaybackOperation
fn clone(&self) -> PlaybackOperation
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 moreAuto Trait Implementations§
impl Freeze for PlaybackOperation
impl RefUnwindSafe for PlaybackOperation
impl Send for PlaybackOperation
impl Sync for PlaybackOperation
impl Unpin for PlaybackOperation
impl UnsafeUnpin for PlaybackOperation
impl UnwindSafe for PlaybackOperation
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