pub struct HighlightNode {
pub method: HighlightNodeMethod,
pub params: HighlightNodeParams,
}Expand description
Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified. highlightNode
Fields§
§method: HighlightNodeMethod§params: HighlightNodeParamsImplementations§
Source§impl HighlightNode
impl HighlightNode
pub fn builder() -> HighlightNodeBuilder
Source§impl HighlightNode
impl HighlightNode
pub const IDENTIFIER: &'static str = "Overlay.highlightNode"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for HighlightNode
impl Clone for HighlightNode
Source§fn clone(&self) -> HighlightNode
fn clone(&self) -> HighlightNode
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 HighlightNode
impl CommandResult for HighlightNode
type Result = HighlightNodeResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for HighlightNode
impl Debug for HighlightNode
Source§impl<'de> Deserialize<'de> for HighlightNode
impl<'de> Deserialize<'de> for HighlightNode
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<HighlightNode> for BrowserProtocolCommands
impl From<HighlightNode> for BrowserProtocolCommands
Source§fn from(v: HighlightNode) -> Self
fn from(v: HighlightNode) -> Self
Converts to this type from the input type.
Source§impl From<HighlightNode> for Command
impl From<HighlightNode> for Command
Source§fn from(v: HighlightNode) -> Self
fn from(v: HighlightNode) -> Self
Converts to this type from the input type.
Source§impl From<HighlightNode> for OverlayCommands
impl From<HighlightNode> for OverlayCommands
Source§fn from(v: HighlightNode) -> Self
fn from(v: HighlightNode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HighlightNode
impl PartialEq for HighlightNode
Source§impl Serialize for HighlightNode
impl Serialize for HighlightNode
Source§impl TryFrom<BrowserProtocolCommands> for HighlightNode
impl TryFrom<BrowserProtocolCommands> for HighlightNode
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, <HighlightNode as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <HighlightNode as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for HighlightNode
impl TryFrom<Command> for HighlightNode
Source§impl TryFrom<OverlayCommands> for HighlightNode
impl TryFrom<OverlayCommands> for HighlightNode
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, <HighlightNode as TryFrom<OverlayCommands>>::Error>
fn try_from( e: OverlayCommands, ) -> Result<Self, <HighlightNode as TryFrom<OverlayCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for HighlightNode
Auto Trait Implementations§
impl Freeze for HighlightNode
impl RefUnwindSafe for HighlightNode
impl Send for HighlightNode
impl Sync for HighlightNode
impl Unpin for HighlightNode
impl UnsafeUnpin for HighlightNode
impl UnwindSafe for HighlightNode
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