pub struct CoverageConfig {
pub enabled: bool,
pub format: CoverageFormat,
pub output_dir: PathBuf,
pub threshold: Option<f64>,
pub include: Vec<String>,
pub exclude: Vec<String>,
}Expand description
Coverage configuration.
Fields§
§enabled: boolWhether coverage collection is enabled
format: CoverageFormatOutput format for coverage data
output_dir: PathBufDirectory for coverage output files
threshold: Option<f64>Minimum coverage threshold (fail if below)
include: Vec<String>Paths to include in coverage (glob patterns)
exclude: Vec<String>Paths to exclude from coverage (glob patterns)
Trait Implementations§
Source§impl Clone for CoverageConfig
impl Clone for CoverageConfig
Source§fn clone(&self) -> CoverageConfig
fn clone(&self) -> CoverageConfig
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 CoverageConfig
impl Debug for CoverageConfig
Auto Trait Implementations§
impl Freeze for CoverageConfig
impl RefUnwindSafe for CoverageConfig
impl Send for CoverageConfig
impl Sync for CoverageConfig
impl Unpin for CoverageConfig
impl UnsafeUnpin for CoverageConfig
impl UnwindSafe for CoverageConfig
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