#[non_exhaustive]pub struct JSCoverageEntry {
pub url: String,
pub script_id: String,
pub functions: Vec<JSCoverageFunction>,
}Expand description
A single script reported by JS coverage.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.url: StringThe script’s URL (may be empty for inline/eval’d scripts).
script_id: StringThe CDP script id.
functions: Vec<JSCoverageFunction>Per-function coverage records.
Trait Implementations§
Source§impl Clone for JSCoverageEntry
impl Clone for JSCoverageEntry
Source§fn clone(&self) -> JSCoverageEntry
fn clone(&self) -> JSCoverageEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JSCoverageEntry
impl Debug for JSCoverageEntry
Source§impl Default for JSCoverageEntry
impl Default for JSCoverageEntry
Source§fn default() -> JSCoverageEntry
fn default() -> JSCoverageEntry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JSCoverageEntry
impl RefUnwindSafe for JSCoverageEntry
impl Send for JSCoverageEntry
impl Sync for JSCoverageEntry
impl Unpin for JSCoverageEntry
impl UnsafeUnpin for JSCoverageEntry
impl UnwindSafe for JSCoverageEntry
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