pub struct GetNodeForLocation {
pub method: GetNodeForLocationMethod,
pub params: GetNodeForLocationParams,
}Expand description
Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is either returned or not. getNodeForLocation
Fields§
§method: GetNodeForLocationMethod§params: GetNodeForLocationParamsImplementations§
Source§impl GetNodeForLocation
impl GetNodeForLocation
pub fn builder() -> GetNodeForLocationBuilder
Source§impl GetNodeForLocation
impl GetNodeForLocation
pub const IDENTIFIER: &'static str = "DOM.getNodeForLocation"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetNodeForLocation
impl Clone for GetNodeForLocation
Source§fn clone(&self) -> GetNodeForLocation
fn clone(&self) -> GetNodeForLocation
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 GetNodeForLocation
impl CommandResult for GetNodeForLocation
type Result = GetNodeForLocationResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetNodeForLocation
impl Debug for GetNodeForLocation
Source§impl<'de> Deserialize<'de> for GetNodeForLocation
impl<'de> Deserialize<'de> for GetNodeForLocation
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<GetNodeForLocation> for BrowserProtocolCommands
impl From<GetNodeForLocation> for BrowserProtocolCommands
Source§fn from(v: GetNodeForLocation) -> Self
fn from(v: GetNodeForLocation) -> Self
Converts to this type from the input type.
Source§impl From<GetNodeForLocation> for Command
impl From<GetNodeForLocation> for Command
Source§fn from(v: GetNodeForLocation) -> Self
fn from(v: GetNodeForLocation) -> Self
Converts to this type from the input type.
Source§impl From<GetNodeForLocation> for DomCommands
impl From<GetNodeForLocation> for DomCommands
Source§fn from(v: GetNodeForLocation) -> Self
fn from(v: GetNodeForLocation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetNodeForLocation
impl PartialEq for GetNodeForLocation
Source§impl Serialize for GetNodeForLocation
impl Serialize for GetNodeForLocation
Source§impl TryFrom<BrowserProtocolCommands> for GetNodeForLocation
impl TryFrom<BrowserProtocolCommands> for GetNodeForLocation
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, <GetNodeForLocation as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetNodeForLocation as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetNodeForLocation
impl TryFrom<Command> for GetNodeForLocation
Source§impl TryFrom<DomCommands> for GetNodeForLocation
impl TryFrom<DomCommands> for GetNodeForLocation
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, <GetNodeForLocation as TryFrom<DomCommands>>::Error>
fn try_from( e: DomCommands, ) -> Result<Self, <GetNodeForLocation as TryFrom<DomCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetNodeForLocation
Auto Trait Implementations§
impl Freeze for GetNodeForLocation
impl RefUnwindSafe for GetNodeForLocation
impl Send for GetNodeForLocation
impl Sync for GetNodeForLocation
impl Unpin for GetNodeForLocation
impl UnsafeUnpin for GetNodeForLocation
impl UnwindSafe for GetNodeForLocation
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