Enum stremio_core::runtime::msg::action::ActionPlayer
source · pub enum ActionPlayer {
VideoParamsChanged {
video_params: Option<VideoParams>,
},
StreamStateChanged {
state: StreamItemState,
},
TimeChanged {
time: u64,
duration: u64,
device: String,
},
PausedChanged {
paused: bool,
},
NextVideo,
Ended,
}
Variants§
VideoParamsChanged
Fields
§
video_params: Option<VideoParams>
StreamStateChanged
Fields
§
state: StreamItemState
TimeChanged
PausedChanged
NextVideo
User has clicked on the next video button.
Ended
Video player has ended.
2 scenarios are possible:
- We’ve watched a movie to the last second
- We’ve watched a movie series to the last second
Trait Implementations§
source§impl Clone for ActionPlayer
impl Clone for ActionPlayer
source§fn clone(&self) -> ActionPlayer
fn clone(&self) -> ActionPlayer
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 ActionPlayer
impl Debug for ActionPlayer
source§impl<'de> Deserialize<'de> for ActionPlayer
impl<'de> Deserialize<'de> for ActionPlayer
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
Auto Trait Implementations§
impl Freeze for ActionPlayer
impl RefUnwindSafe for ActionPlayer
impl Send for ActionPlayer
impl Sync for ActionPlayer
impl Unpin for ActionPlayer
impl UnwindSafe for ActionPlayer
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
)