pub struct RequestNode {
pub method: RequestNodeMethod,
pub params: RequestNodeParams,
}Expand description
Requests that the node is sent to the caller given the JavaScript node object reference. All
nodes that form the path from the node to the root are also sent to the client as a series of
setChildNodes notifications.
requestNode
Fields§
§method: RequestNodeMethod§params: RequestNodeParamsImplementations§
Source§impl RequestNode
impl RequestNode
pub fn builder() -> RequestNodeBuilder
Source§impl RequestNode
impl RequestNode
pub const IDENTIFIER: &'static str = "DOM.requestNode"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for RequestNode
impl Clone for RequestNode
Source§fn clone(&self) -> RequestNode
fn clone(&self) -> RequestNode
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 RequestNode
impl CommandResult for RequestNode
type Result = RequestNodeResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for RequestNode
impl Debug for RequestNode
Source§impl<'de> Deserialize<'de> for RequestNode
impl<'de> Deserialize<'de> for RequestNode
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<RequestNode> for BrowserProtocolCommands
impl From<RequestNode> for BrowserProtocolCommands
Source§fn from(v: RequestNode) -> Self
fn from(v: RequestNode) -> Self
Converts to this type from the input type.
Source§impl From<RequestNode> for Command
impl From<RequestNode> for Command
Source§fn from(v: RequestNode) -> Self
fn from(v: RequestNode) -> Self
Converts to this type from the input type.
Source§impl From<RequestNode> for DomCommands
impl From<RequestNode> for DomCommands
Source§fn from(v: RequestNode) -> Self
fn from(v: RequestNode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RequestNode
impl PartialEq for RequestNode
Source§impl Serialize for RequestNode
impl Serialize for RequestNode
Source§impl TryFrom<BrowserProtocolCommands> for RequestNode
impl TryFrom<BrowserProtocolCommands> for RequestNode
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, <RequestNode as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <RequestNode as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for RequestNode
impl TryFrom<Command> for RequestNode
Source§impl TryFrom<DomCommands> for RequestNode
impl TryFrom<DomCommands> for RequestNode
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, <RequestNode as TryFrom<DomCommands>>::Error>
fn try_from( e: DomCommands, ) -> Result<Self, <RequestNode as TryFrom<DomCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for RequestNode
Auto Trait Implementations§
impl Freeze for RequestNode
impl RefUnwindSafe for RequestNode
impl Send for RequestNode
impl Sync for RequestNode
impl Unpin for RequestNode
impl UnsafeUnpin for RequestNode
impl UnwindSafe for RequestNode
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