pub struct QuerySelector {
pub method: QuerySelectorMethod,
pub params: QuerySelectorParams,
}Expand description
Executes querySelector on a given node.
querySelector
Fields§
§method: QuerySelectorMethod§params: QuerySelectorParamsImplementations§
Source§impl QuerySelector
impl QuerySelector
pub fn builder() -> QuerySelectorBuilder
Source§impl QuerySelector
impl QuerySelector
pub const IDENTIFIER: &'static str = "DOM.querySelector"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for QuerySelector
impl Clone for QuerySelector
Source§fn clone(&self) -> QuerySelector
fn clone(&self) -> QuerySelector
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 QuerySelector
impl CommandResult for QuerySelector
type Result = QuerySelectorResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for QuerySelector
impl Debug for QuerySelector
Source§impl<'de> Deserialize<'de> for QuerySelector
impl<'de> Deserialize<'de> for QuerySelector
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<QuerySelector> for BrowserProtocolCommands
impl From<QuerySelector> for BrowserProtocolCommands
Source§fn from(v: QuerySelector) -> Self
fn from(v: QuerySelector) -> Self
Converts to this type from the input type.
Source§impl From<QuerySelector> for Command
impl From<QuerySelector> for Command
Source§fn from(v: QuerySelector) -> Self
fn from(v: QuerySelector) -> Self
Converts to this type from the input type.
Source§impl From<QuerySelector> for DomCommands
impl From<QuerySelector> for DomCommands
Source§fn from(v: QuerySelector) -> Self
fn from(v: QuerySelector) -> Self
Converts to this type from the input type.
Source§impl PartialEq for QuerySelector
impl PartialEq for QuerySelector
Source§impl Serialize for QuerySelector
impl Serialize for QuerySelector
Source§impl TryFrom<BrowserProtocolCommands> for QuerySelector
impl TryFrom<BrowserProtocolCommands> for QuerySelector
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, <QuerySelector as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <QuerySelector as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for QuerySelector
impl TryFrom<Command> for QuerySelector
Source§impl TryFrom<DomCommands> for QuerySelector
impl TryFrom<DomCommands> for QuerySelector
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, <QuerySelector as TryFrom<DomCommands>>::Error>
fn try_from( e: DomCommands, ) -> Result<Self, <QuerySelector as TryFrom<DomCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for QuerySelector
Auto Trait Implementations§
impl Freeze for QuerySelector
impl RefUnwindSafe for QuerySelector
impl Send for QuerySelector
impl Sync for QuerySelector
impl Unpin for QuerySelector
impl UnsafeUnpin for QuerySelector
impl UnwindSafe for QuerySelector
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