pub struct CoverageReport {
pub timestamp: u64,
pub config: CoverageConfig,
pub overall_summary: CoverageSummary,
pub module_summaries: HashMap<String, CoverageSummary>,
pub quality_gates: QualityGatesResult,
pub recommendations: Vec<CoverageRecommendation>,
pub trends: Option<CoverageTrends>,
}Expand description
Comprehensive coverage analysis report
Fields§
§timestamp: u64§config: CoverageConfig§overall_summary: CoverageSummary§module_summaries: HashMap<String, CoverageSummary>§quality_gates: QualityGatesResult§recommendations: Vec<CoverageRecommendation>§trends: Option<CoverageTrends>Implementations§
Source§impl CoverageReport
impl CoverageReport
Sourcepub fn overall_coverage(&self) -> f64
pub fn overall_coverage(&self) -> f64
Get overall coverage percentage
Sourcepub fn meets_quality_gates(&self) -> bool
pub fn meets_quality_gates(&self) -> bool
Check if all quality gates are met
Trait Implementations§
Source§impl Debug for CoverageReport
impl Debug for CoverageReport
Source§impl<'de> Deserialize<'de> for CoverageReport
impl<'de> Deserialize<'de> for CoverageReport
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
Auto Trait Implementations§
impl Freeze for CoverageReport
impl RefUnwindSafe for CoverageReport
impl Send for CoverageReport
impl Sync for CoverageReport
impl Unpin for CoverageReport
impl UnwindSafe for CoverageReport
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more