pub struct HighlightNodeParams {
pub highlightConfig: HighlightConfig,
pub nodeId: Option<NodeId>,
pub backendNodeId: Option<BackendNodeId>,
pub objectId: Option<RemoteObjectId>,
pub selector: Option<String>,
}Expand description
Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
Fields§
§highlightConfig: HighlightConfigA descriptor for the highlight appearance.
nodeId: Option<NodeId>Identifier of the node to highlight.
backendNodeId: Option<BackendNodeId>Identifier of the backend node to highlight.
objectId: Option<RemoteObjectId>JavaScript object id of the node to be highlighted.
selector: Option<String>Selectors to highlight relevant nodes.
Trait Implementations§
Source§impl Clone for HighlightNodeParams
impl Clone for HighlightNodeParams
Source§fn clone(&self) -> HighlightNodeParams
fn clone(&self) -> HighlightNodeParams
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 Debug for HighlightNodeParams
impl Debug for HighlightNodeParams
Source§impl Default for HighlightNodeParams
impl Default for HighlightNodeParams
Source§fn default() -> HighlightNodeParams
fn default() -> HighlightNodeParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HighlightNodeParams
impl<'de> Deserialize<'de> for HighlightNodeParams
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 HighlightNodeParams
impl RefUnwindSafe for HighlightNodeParams
impl Send for HighlightNodeParams
impl Sync for HighlightNodeParams
impl Unpin for HighlightNodeParams
impl UnsafeUnpin for HighlightNodeParams
impl UnwindSafe for HighlightNodeParams
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