Struct cdp::debugger::SearchInContentCommand
[−]
[src]
pub struct SearchInContentCommand<'a> {
pub script_id: ScriptId<'a>,
pub query: Cow<'a, str>,
pub case_sensitive: Option<bool>,
pub is_regex: Option<bool>,
}[Experimental] Searches for given string in script content.
Command Debugger.searchInContent
Domain Module: cdp::debugger
Command Struct: cdp::debugger::SearchInContentCommand
Response Struct: cdp::debugger::SearchInContentResponse
Fields
script_id: ScriptId<'a>
Id of the script to search in.
query: Cow<'a, str>
String to search for.
case_sensitive: Option<bool>
If true, search is case sensitive.
is_regex: Option<bool>
If true, treats string parameter as regex.
Trait Implementations
impl<'a> Clone for SearchInContentCommand<'a>[src]
fn clone(&self) -> SearchInContentCommand<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'a> Debug for SearchInContentCommand<'a>[src]
impl<'a> PartialEq for SearchInContentCommand<'a>[src]
fn eq(&self, __arg_0: &SearchInContentCommand<'a>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &SearchInContentCommand<'a>) -> bool[src]
This method tests for !=.
impl<'a> CdpCommand for SearchInContentCommand<'a>[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Debugger.searchInContent"
impl<'a> SerializeCdpCommand for SearchInContentCommand<'a>[src]
fn command_name(&self) -> &str[src]
fn serialize_command_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer, [src]
S: Serializer,
impl<'de, 'a> DeserializeCdpCommand<'de> for SearchInContentCommand<'a>[src]
fn deserialize_command<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>, [src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,