pub struct PerformSearchParams {
pub query: String,
pub include_user_agent_shadow_dom: Option<bool>,
}Expand description
Searches for a given string in the DOM tree. Use getSearchResults to access search results or
cancelSearch to end this search session.
performSearch
Fields§
§query: StringPlain text or query selector or XPath search query.
include_user_agent_shadow_dom: Option<bool>True to search in user agent shadow DOM.
Implementations§
Source§impl PerformSearchParams
impl PerformSearchParams
pub fn builder() -> PerformSearchParamsBuilder
Source§impl PerformSearchParams
impl PerformSearchParams
pub const IDENTIFIER: &'static str = "DOM.performSearch"
Trait Implementations§
Source§impl Clone for PerformSearchParams
impl Clone for PerformSearchParams
Source§fn clone(&self) -> PerformSearchParams
fn clone(&self) -> PerformSearchParams
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 Command for PerformSearchParams
impl Command for PerformSearchParams
Source§impl Debug for PerformSearchParams
impl Debug for PerformSearchParams
Source§impl<'de> Deserialize<'de> for PerformSearchParams
impl<'de> Deserialize<'de> for PerformSearchParams
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 Method for PerformSearchParams
impl Method for PerformSearchParams
Source§fn identifier(&self) -> MethodId
fn identifier(&self) -> MethodId
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeSource§impl MethodType for PerformSearchParams
impl MethodType for PerformSearchParams
Source§impl PartialEq for PerformSearchParams
impl PartialEq for PerformSearchParams
Source§impl Serialize for PerformSearchParams
impl Serialize for PerformSearchParams
impl StructuralPartialEq for PerformSearchParams
Auto Trait Implementations§
impl Freeze for PerformSearchParams
impl RefUnwindSafe for PerformSearchParams
impl Send for PerformSearchParams
impl Sync for PerformSearchParams
impl Unpin for PerformSearchParams
impl UnwindSafe for PerformSearchParams
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