pub struct TakePreciseCoverageReturnObject {
pub result: Vec<ScriptCoverage>,
pub timestamp: JsFloat,
}Expand description
Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started.
Fields§
§result: Vec<ScriptCoverage>Coverage data for the current isolate.
timestamp: JsFloatMonotonically increasing time (in seconds) when the coverage update was taken in the backend.
Trait Implementations§
Source§impl Clone for TakePreciseCoverageReturnObject
impl Clone for TakePreciseCoverageReturnObject
Source§fn clone(&self) -> TakePreciseCoverageReturnObject
fn clone(&self) -> TakePreciseCoverageReturnObject
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 TakePreciseCoverageReturnObject
impl<'de> Deserialize<'de> for TakePreciseCoverageReturnObject
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 TakePreciseCoverageReturnObject
impl PartialEq for TakePreciseCoverageReturnObject
Source§fn eq(&self, other: &TakePreciseCoverageReturnObject) -> bool
fn eq(&self, other: &TakePreciseCoverageReturnObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TakePreciseCoverageReturnObject
Auto Trait Implementations§
impl Freeze for TakePreciseCoverageReturnObject
impl RefUnwindSafe for TakePreciseCoverageReturnObject
impl Send for TakePreciseCoverageReturnObject
impl Sync for TakePreciseCoverageReturnObject
impl Unpin for TakePreciseCoverageReturnObject
impl UnsafeUnpin for TakePreciseCoverageReturnObject
impl UnwindSafe for TakePreciseCoverageReturnObject
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