pub struct GetElementByRelation {
pub method: GetElementByRelationMethod,
pub params: GetElementByRelationParams,
}Expand description
Returns the NodeId of the matched element according to certain relations. getElementByRelation
Fields§
§method: GetElementByRelationMethod§params: GetElementByRelationParamsImplementations§
Source§impl GetElementByRelation
impl GetElementByRelation
pub fn builder() -> GetElementByRelationBuilder
Source§impl GetElementByRelation
impl GetElementByRelation
pub const IDENTIFIER: &'static str = "DOM.getElementByRelation"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetElementByRelation
impl Clone for GetElementByRelation
Source§fn clone(&self) -> GetElementByRelation
fn clone(&self) -> GetElementByRelation
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 GetElementByRelation
impl CommandResult for GetElementByRelation
type Result = GetElementByRelationResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetElementByRelation
impl Debug for GetElementByRelation
Source§impl<'de> Deserialize<'de> for GetElementByRelation
impl<'de> Deserialize<'de> for GetElementByRelation
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<GetElementByRelation> for BrowserProtocolCommands
impl From<GetElementByRelation> for BrowserProtocolCommands
Source§fn from(v: GetElementByRelation) -> Self
fn from(v: GetElementByRelation) -> Self
Converts to this type from the input type.
Source§impl From<GetElementByRelation> for Command
impl From<GetElementByRelation> for Command
Source§fn from(v: GetElementByRelation) -> Self
fn from(v: GetElementByRelation) -> Self
Converts to this type from the input type.
Source§impl From<GetElementByRelation> for DomCommands
impl From<GetElementByRelation> for DomCommands
Source§fn from(v: GetElementByRelation) -> Self
fn from(v: GetElementByRelation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetElementByRelation
impl PartialEq for GetElementByRelation
Source§impl Serialize for GetElementByRelation
impl Serialize for GetElementByRelation
Source§impl TryFrom<BrowserProtocolCommands> for GetElementByRelation
impl TryFrom<BrowserProtocolCommands> for GetElementByRelation
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, <GetElementByRelation as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetElementByRelation as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetElementByRelation
impl TryFrom<Command> for GetElementByRelation
Source§impl TryFrom<DomCommands> for GetElementByRelation
impl TryFrom<DomCommands> for GetElementByRelation
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, <GetElementByRelation as TryFrom<DomCommands>>::Error>
fn try_from( e: DomCommands, ) -> Result<Self, <GetElementByRelation as TryFrom<DomCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetElementByRelation
Auto Trait Implementations§
impl Freeze for GetElementByRelation
impl RefUnwindSafe for GetElementByRelation
impl Send for GetElementByRelation
impl Sync for GetElementByRelation
impl Unpin for GetElementByRelation
impl UnsafeUnpin for GetElementByRelation
impl UnwindSafe for GetElementByRelation
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