Struct chromiumoxide::cdp::js_protocol::debugger::SearchInContentParams
source · pub struct SearchInContentParams {
pub script_id: ScriptId,
pub query: String,
pub case_sensitive: Option<bool>,
pub is_regex: Option<bool>,
}Expand description
Searches for given string in script content. searchInContent
Fields§
§script_id: ScriptIdId of the script to search in.
query: StringString to search for.
case_sensitive: Option<bool>If true, search is case sensitive.
is_regex: Option<bool>If true, treats string parameter as regex.
Implementations§
source§impl SearchInContentParams
impl SearchInContentParams
pub fn builder() -> SearchInContentParamsBuilder
source§impl SearchInContentParams
impl SearchInContentParams
pub const IDENTIFIER: &'static str = "Debugger.searchInContent"
Trait Implementations§
source§impl Clone for SearchInContentParams
impl Clone for SearchInContentParams
source§fn clone(&self) -> SearchInContentParams
fn clone(&self) -> SearchInContentParams
Returns a copy 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 SearchInContentParams
impl Command for SearchInContentParams
§type Response = SearchInContentReturns
type Response = SearchInContentReturns
The type of the response this request triggers on the chromium server
source§impl Debug for SearchInContentParams
impl Debug for SearchInContentParams
source§impl<'de> Deserialize<'de> for SearchInContentParams
impl<'de> Deserialize<'de> for SearchInContentParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SearchInContentParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<SearchInContentParams, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for SearchInContentParams
impl Method for SearchInContentParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
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 SearchInContentParams
impl MethodType for SearchInContentParams
source§impl PartialEq<SearchInContentParams> for SearchInContentParams
impl PartialEq<SearchInContentParams> for SearchInContentParams
source§fn eq(&self, other: &SearchInContentParams) -> bool
fn eq(&self, other: &SearchInContentParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SearchInContentParams
impl Serialize for SearchInContentParams
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more