pub struct SearchInContentParams {
pub scriptId: ScriptId,
pub query: String,
pub caseSensitive: Option<bool>,
pub isRegex: Option<bool>,
}Expand description
Searches for given string in script content.
Fields§
§scriptId: ScriptIdId of the script to search in.
query: StringString to search for.
caseSensitive: Option<bool>If true, search is case sensitive.
isRegex: Option<bool>If true, treats string parameter as regex.
Implementations§
Trait Implementations§
Source§impl CdpCommand for SearchInContentParams
impl CdpCommand for SearchInContentParams
Source§impl Clone for SearchInContentParams
impl Clone for SearchInContentParams
Source§fn clone(&self) -> SearchInContentParams
fn clone(&self) -> SearchInContentParams
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 Debug for SearchInContentParams
impl Debug for SearchInContentParams
Source§impl Default for SearchInContentParams
impl Default for SearchInContentParams
Source§fn default() -> SearchInContentParams
fn default() -> SearchInContentParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchInContentParams
impl<'de> Deserialize<'de> for SearchInContentParams
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
Auto Trait Implementations§
impl Freeze for SearchInContentParams
impl RefUnwindSafe for SearchInContentParams
impl Send for SearchInContentParams
impl Sync for SearchInContentParams
impl Unpin for SearchInContentParams
impl UnsafeUnpin for SearchInContentParams
impl UnwindSafe for SearchInContentParams
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