pub struct PreciseCoverageDeltaUpdateParams {
pub timestamp: f64,
pub occasion: String,
pub result: Vec<ScriptCoverage>,
}Expand description
Reports coverage delta since the last poll (either from an event like this, or from
takePreciseCoverage for the current isolate. May only be sent if precise code
coverage has been started. This event can be trigged by the embedder to, for example,
trigger collection of coverage data immediately at a certain point in time.
preciseCoverageDeltaUpdate
Fields§
§timestamp: f64Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
occasion: StringIdentifier for distinguishing coverage events.
result: Vec<ScriptCoverage>Coverage data for the current isolate.
Trait Implementations§
Source§impl Clone for PreciseCoverageDeltaUpdateParams
impl Clone for PreciseCoverageDeltaUpdateParams
Source§fn clone(&self) -> PreciseCoverageDeltaUpdateParams
fn clone(&self) -> PreciseCoverageDeltaUpdateParams
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<'de> Deserialize<'de> for PreciseCoverageDeltaUpdateParams
impl<'de> Deserialize<'de> for PreciseCoverageDeltaUpdateParams
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 PartialEq for PreciseCoverageDeltaUpdateParams
impl PartialEq for PreciseCoverageDeltaUpdateParams
Source§fn eq(&self, other: &PreciseCoverageDeltaUpdateParams) -> bool
fn eq(&self, other: &PreciseCoverageDeltaUpdateParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PreciseCoverageDeltaUpdateParams
Auto Trait Implementations§
impl Freeze for PreciseCoverageDeltaUpdateParams
impl RefUnwindSafe for PreciseCoverageDeltaUpdateParams
impl Send for PreciseCoverageDeltaUpdateParams
impl Sync for PreciseCoverageDeltaUpdateParams
impl Unpin for PreciseCoverageDeltaUpdateParams
impl UnsafeUnpin for PreciseCoverageDeltaUpdateParams
impl UnwindSafe for PreciseCoverageDeltaUpdateParams
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