pub struct StartJSCoverageOptions {
pub reset_on_navigation: Option<bool>,
pub report_anonymous_scripts: Option<bool>,
}Expand description
Options for Coverage::start_js_coverage.
See: https://playwright.dev/docs/api/class-coverage#coverage-start-js-coverage
Fields§
Whether to reset coverage on every navigation.
Defaults to true.
report_anonymous_scripts: Option<bool>Whether to report anonymous scripts generated by the page.
Defaults to false.
Trait Implementations§
Source§impl Clone for StartJSCoverageOptions
impl Clone for StartJSCoverageOptions
Source§fn clone(&self) -> StartJSCoverageOptions
fn clone(&self) -> StartJSCoverageOptions
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 StartJSCoverageOptions
impl Debug for StartJSCoverageOptions
Source§impl Default for StartJSCoverageOptions
impl Default for StartJSCoverageOptions
Source§fn default() -> StartJSCoverageOptions
fn default() -> StartJSCoverageOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StartJSCoverageOptions
impl RefUnwindSafe for StartJSCoverageOptions
impl Send for StartJSCoverageOptions
impl Sync for StartJSCoverageOptions
impl Unpin for StartJSCoverageOptions
impl UnsafeUnpin for StartJSCoverageOptions
impl UnwindSafe for StartJSCoverageOptions
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