pub struct SetPaused {
pub method: SetPausedMethod,
pub params: SetPausedParams,
}Expand description
Sets the paused state of a set of animations. setPaused
Fields§
§method: SetPausedMethod§params: SetPausedParamsImplementations§
Source§impl SetPaused
impl SetPaused
pub const IDENTIFIER: &'static str = "Animation.setPaused"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for SetPaused
impl CommandResult for SetPaused
type Result = SetPausedResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for SetPaused
impl<'de> Deserialize<'de> for SetPaused
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 From<SetPaused> for AnimationCommands
impl From<SetPaused> for AnimationCommands
Source§impl From<SetPaused> for BrowserProtocolCommands
impl From<SetPaused> for BrowserProtocolCommands
Source§impl TryFrom<AnimationCommands> for SetPaused
impl TryFrom<AnimationCommands> for SetPaused
Source§type Error = AnimationCommands
type Error = AnimationCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: AnimationCommands,
) -> Result<Self, <SetPaused as TryFrom<AnimationCommands>>::Error>
fn try_from( e: AnimationCommands, ) -> Result<Self, <SetPaused as TryFrom<AnimationCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for SetPaused
impl TryFrom<BrowserProtocolCommands> for SetPaused
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetPaused as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetPaused as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetPaused
Auto Trait Implementations§
impl Freeze for SetPaused
impl RefUnwindSafe for SetPaused
impl Send for SetPaused
impl Sync for SetPaused
impl Unpin for SetPaused
impl UnsafeUnpin for SetPaused
impl UnwindSafe for SetPaused
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