pub struct StartPreciseCoverage {
pub method: StartPreciseCoverageMethod,
pub params: StartPreciseCoverageParams,
}Expand description
Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters. startPreciseCoverage
Fields§
§method: StartPreciseCoverageMethod§params: StartPreciseCoverageParamsImplementations§
Source§impl StartPreciseCoverage
impl StartPreciseCoverage
pub fn builder() -> StartPreciseCoverageBuilder
Source§impl StartPreciseCoverage
impl StartPreciseCoverage
pub const IDENTIFIER: &'static str = "Profiler.startPreciseCoverage"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for StartPreciseCoverage
impl Clone for StartPreciseCoverage
Source§fn clone(&self) -> StartPreciseCoverage
fn clone(&self) -> StartPreciseCoverage
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 CommandResult for StartPreciseCoverage
impl CommandResult for StartPreciseCoverage
type Result = StartPreciseCoverageResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for StartPreciseCoverage
impl Debug for StartPreciseCoverage
Source§impl<'de> Deserialize<'de> for StartPreciseCoverage
impl<'de> Deserialize<'de> for StartPreciseCoverage
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 From<StartPreciseCoverage> for Command
impl From<StartPreciseCoverage> for Command
Source§fn from(v: StartPreciseCoverage) -> Self
fn from(v: StartPreciseCoverage) -> Self
Converts to this type from the input type.
Source§impl From<StartPreciseCoverage> for JsProtocolCommands
impl From<StartPreciseCoverage> for JsProtocolCommands
Source§fn from(v: StartPreciseCoverage) -> Self
fn from(v: StartPreciseCoverage) -> Self
Converts to this type from the input type.
Source§impl From<StartPreciseCoverage> for ProfilerCommands
impl From<StartPreciseCoverage> for ProfilerCommands
Source§fn from(v: StartPreciseCoverage) -> Self
fn from(v: StartPreciseCoverage) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StartPreciseCoverage
impl PartialEq for StartPreciseCoverage
Source§impl Serialize for StartPreciseCoverage
impl Serialize for StartPreciseCoverage
Source§impl TryFrom<Command> for StartPreciseCoverage
impl TryFrom<Command> for StartPreciseCoverage
Source§impl TryFrom<JsProtocolCommands> for StartPreciseCoverage
impl TryFrom<JsProtocolCommands> for StartPreciseCoverage
Source§type Error = JsProtocolCommands
type Error = JsProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: JsProtocolCommands,
) -> Result<Self, <StartPreciseCoverage as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <StartPreciseCoverage as TryFrom<JsProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ProfilerCommands> for StartPreciseCoverage
impl TryFrom<ProfilerCommands> for StartPreciseCoverage
Source§type Error = ProfilerCommands
type Error = ProfilerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: ProfilerCommands,
) -> Result<Self, <StartPreciseCoverage as TryFrom<ProfilerCommands>>::Error>
fn try_from( e: ProfilerCommands, ) -> Result<Self, <StartPreciseCoverage as TryFrom<ProfilerCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for StartPreciseCoverage
Auto Trait Implementations§
impl Freeze for StartPreciseCoverage
impl RefUnwindSafe for StartPreciseCoverage
impl Send for StartPreciseCoverage
impl Sync for StartPreciseCoverage
impl Unpin for StartPreciseCoverage
impl UnsafeUnpin for StartPreciseCoverage
impl UnwindSafe for StartPreciseCoverage
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