pub struct SetInspectMode {
pub method: SetInspectModeMethod,
pub params: SetInspectModeParams,
}Expand description
Enters the ‘inspect’ mode. In this mode, elements that user is hovering over are highlighted. Backend then generates ‘inspectNodeRequested’ event upon element selection. setInspectMode
Fields§
§method: SetInspectModeMethod§params: SetInspectModeParamsImplementations§
Source§impl SetInspectMode
impl SetInspectMode
pub fn builder() -> SetInspectModeBuilder
Source§impl SetInspectMode
impl SetInspectMode
pub const IDENTIFIER: &'static str = "Overlay.setInspectMode"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetInspectMode
impl Clone for SetInspectMode
Source§fn clone(&self) -> SetInspectMode
fn clone(&self) -> SetInspectMode
Returns a duplicate 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 CommandResult for SetInspectMode
impl CommandResult for SetInspectMode
type Result = SetInspectModeResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetInspectMode
impl Debug for SetInspectMode
Source§impl<'de> Deserialize<'de> for SetInspectMode
impl<'de> Deserialize<'de> for SetInspectMode
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<SetInspectMode> for BrowserProtocolCommands
impl From<SetInspectMode> for BrowserProtocolCommands
Source§fn from(v: SetInspectMode) -> Self
fn from(v: SetInspectMode) -> Self
Converts to this type from the input type.
Source§impl From<SetInspectMode> for Command
impl From<SetInspectMode> for Command
Source§fn from(v: SetInspectMode) -> Self
fn from(v: SetInspectMode) -> Self
Converts to this type from the input type.
Source§impl From<SetInspectMode> for OverlayCommands
impl From<SetInspectMode> for OverlayCommands
Source§fn from(v: SetInspectMode) -> Self
fn from(v: SetInspectMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetInspectMode
impl PartialEq for SetInspectMode
Source§impl Serialize for SetInspectMode
impl Serialize for SetInspectMode
Source§impl TryFrom<BrowserProtocolCommands> for SetInspectMode
impl TryFrom<BrowserProtocolCommands> for SetInspectMode
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, <SetInspectMode as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetInspectMode as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetInspectMode
impl TryFrom<Command> for SetInspectMode
Source§impl TryFrom<OverlayCommands> for SetInspectMode
impl TryFrom<OverlayCommands> for SetInspectMode
Source§type Error = OverlayCommands
type Error = OverlayCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: OverlayCommands,
) -> Result<Self, <SetInspectMode as TryFrom<OverlayCommands>>::Error>
fn try_from( e: OverlayCommands, ) -> Result<Self, <SetInspectMode as TryFrom<OverlayCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetInspectMode
Auto Trait Implementations§
impl Freeze for SetInspectMode
impl RefUnwindSafe for SetInspectMode
impl Send for SetInspectMode
impl Sync for SetInspectMode
impl Unpin for SetInspectMode
impl UnsafeUnpin for SetInspectMode
impl UnwindSafe for SetInspectMode
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