pub struct ReportData {
pub scope: String,
pub threshold_pct: f64,
pub changed_lines_total: u32,
pub covered_lines: u32,
pub uncovered_lines: u32,
pub missing_lines: u32,
pub ignored_lines_count: u32,
pub excluded_files_count: u32,
pub diff_coverage_pct: f64,
pub inputs: Inputs,
pub debug: Option<Value>,
pub truncation: Option<Truncation>,
}Expand description
Aggregated data about the coverage analysis.
Fields§
§scope: StringScope of lines evaluated (“added” or “touched”).
threshold_pct: f64Coverage threshold percentage.
changed_lines_total: u32Total number of changed lines in scope.
covered_lines: u32Number of covered lines.
uncovered_lines: u32Number of uncovered lines.
missing_lines: u32Number of lines with missing coverage data.
ignored_lines_count: u32Number of lines ignored via covguard: ignore directive.
excluded_files_count: u32Number of files excluded via include/exclude filtering.
diff_coverage_pct: f64Diff coverage percentage.
inputs: InputsInformation about the inputs.
debug: Option<Value>Optional debug payload (opaque).
truncation: Option<Truncation>Truncation metadata (populated when findings exceed max_findings).
Trait Implementations§
Source§impl Clone for ReportData
impl Clone for ReportData
Source§fn clone(&self) -> ReportData
fn clone(&self) -> ReportData
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 ReportData
impl Debug for ReportData
Source§impl Default for ReportData
impl Default for ReportData
Source§impl<'de> Deserialize<'de> for ReportData
impl<'de> Deserialize<'de> for ReportData
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 ReportData
impl RefUnwindSafe for ReportData
impl Send for ReportData
impl Sync for ReportData
impl Unpin for ReportData
impl UnsafeUnpin for ReportData
impl UnwindSafe for ReportData
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