pub struct Undo {
pub method: UndoMethod,
pub params: UndoParams,
}Expand description
Undoes the last performed action. undo
Fields§
§method: UndoMethod§params: UndoParamsImplementations§
Source§impl Undo
impl Undo
pub const IDENTIFIER: &'static str = "DOM.undo"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for Undo
impl CommandResult for Undo
type Result = UndoResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for Undo
impl<'de> Deserialize<'de> for Undo
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<Undo> for BrowserProtocolCommands
impl From<Undo> for BrowserProtocolCommands
Source§impl From<Undo> for DomCommands
impl From<Undo> for DomCommands
Source§impl TryFrom<BrowserProtocolCommands> for Undo
impl TryFrom<BrowserProtocolCommands> for Undo
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, <Undo as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <Undo as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<DomCommands> for Undo
impl TryFrom<DomCommands> for Undo
Source§type Error = DomCommands
type Error = DomCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DomCommands,
) -> Result<Self, <Undo as TryFrom<DomCommands>>::Error>
fn try_from( e: DomCommands, ) -> Result<Self, <Undo as TryFrom<DomCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for Undo
Auto Trait Implementations§
impl Freeze for Undo
impl RefUnwindSafe for Undo
impl Send for Undo
impl Sync for Undo
impl Unpin for Undo
impl UnsafeUnpin for Undo
impl UnwindSafe for Undo
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