pub struct HighlightSourceOrderParams {
pub source_order_config: SourceOrderConfig,
pub node_id: Option<NodeId>,
pub backend_node_id: Option<BackendNodeId>,
pub object_id: Option<RemoteObjectId>,
}Expand description
Highlights the source order of the children of the DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified. highlightSourceOrder
Fields
source_order_config: SourceOrderConfigA descriptor for the appearance of the overlay drawing.
node_id: Option<NodeId>Identifier of the node to highlight.
backend_node_id: Option<BackendNodeId>Identifier of the backend node to highlight.
object_id: Option<RemoteObjectId>JavaScript object id of the node to be highlighted.
Implementations
sourceimpl HighlightSourceOrderParams
impl HighlightSourceOrderParams
pub fn new(
source_order_config: impl Into<SourceOrderConfig>
) -> HighlightSourceOrderParams
sourceimpl HighlightSourceOrderParams
impl HighlightSourceOrderParams
pub const IDENTIFIER: &'static str
Trait Implementations
sourceimpl Clone for HighlightSourceOrderParams
impl Clone for HighlightSourceOrderParams
sourcefn clone(&self) -> HighlightSourceOrderParams
fn clone(&self) -> HighlightSourceOrderParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Command for HighlightSourceOrderParams
impl Command for HighlightSourceOrderParams
type Response = HighlightSourceOrderReturns
type Response = HighlightSourceOrderReturns
The type of the response this request triggers on the chromium server
sourceimpl Debug for HighlightSourceOrderParams
impl Debug for HighlightSourceOrderParams
sourceimpl<'de> Deserialize<'de> for HighlightSourceOrderParams
impl<'de> Deserialize<'de> for HighlightSourceOrderParams
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<HighlightSourceOrderParams, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<HighlightSourceOrderParams, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Method for HighlightSourceOrderParams
impl Method for HighlightSourceOrderParams
sourcefn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like: DOM.removeNode
sourcefn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to: DOM
sourcefn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain: removeNode
sourceimpl PartialEq<HighlightSourceOrderParams> for HighlightSourceOrderParams
impl PartialEq<HighlightSourceOrderParams> for HighlightSourceOrderParams
sourcefn eq(&self, other: &HighlightSourceOrderParams) -> bool
fn eq(&self, other: &HighlightSourceOrderParams) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &HighlightSourceOrderParams) -> bool
fn ne(&self, other: &HighlightSourceOrderParams) -> bool
This method tests for !=.
sourceimpl Serialize for HighlightSourceOrderParams
impl Serialize for HighlightSourceOrderParams
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for HighlightSourceOrderParams
Auto Trait Implementations
impl RefUnwindSafe for HighlightSourceOrderParams
impl Send for HighlightSourceOrderParams
impl Sync for HighlightSourceOrderParams
impl Unpin for HighlightSourceOrderParams
impl UnwindSafe for HighlightSourceOrderParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more