Enum stremio_core::runtime::msg::action::ActionMetaDetails
source · pub enum ActionMetaDetails {
MarkAsWatched(bool),
MarkVideoAsWatched(Video, bool),
}
Variants§
MarkAsWatched(bool)
Marks the LibraryItem
as watched.
Applicable when you have single-video (e.g. a movie) and multi-video (e.g. a movie series) item.
MarkVideoAsWatched(Video, bool)
Marks the given Video
of the LibraryItem
as watched.
Applicable only when you have a multi-video (e.g. movie series) item.
Trait Implementations§
source§impl Clone for ActionMetaDetails
impl Clone for ActionMetaDetails
source§fn clone(&self) -> ActionMetaDetails
fn clone(&self) -> ActionMetaDetails
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 ActionMetaDetails
impl Debug for ActionMetaDetails
source§impl<'de> Deserialize<'de> for ActionMetaDetails
impl<'de> Deserialize<'de> for ActionMetaDetails
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 ActionMetaDetails
impl RefUnwindSafe for ActionMetaDetails
impl Send for ActionMetaDetails
impl Sync for ActionMetaDetails
impl Unpin for ActionMetaDetails
impl UnwindSafe for ActionMetaDetails
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
)