pub struct RegressionResult {
pub status: RegressionStatus,
pub baseline_total: Option<i64>,
pub current_total: Option<i64>,
pub delta: Option<i64>,
pub tolerance: Option<f64>,
pub tolerance_kind: Option<RegressionToleranceKind>,
pub exceeded: bool,
pub reason: Option<String>,
}Expand description
Result of regression detection (--fail-on-regression). Compares current
issue counts against a baseline from config or an explicit file.
Fields§
§status: RegressionStatusOutcome of the regression check.
baseline_total: Option<i64>Baseline total before the change. Absent when status is skipped.
current_total: Option<i64>Current total after the change. Absent when status is skipped.
delta: Option<i64>Difference current - baseline. Absent when status is skipped.
tolerance: Option<f64>Configured tolerance, interpreted per RegressionToleranceKind.
Absent when status is skipped.
tolerance_kind: Option<RegressionToleranceKind>Interpretation of the tolerance value.
exceeded: boolWhether the regression exceeded the tolerance.
reason: Option<String>Only present when status is skipped.
Trait Implementations§
Source§impl Clone for RegressionResult
impl Clone for RegressionResult
Source§impl Debug for RegressionResult
impl Debug for RegressionResult
Auto Trait Implementations§
impl Freeze for RegressionResult
impl RefUnwindSafe for RegressionResult
impl Send for RegressionResult
impl Sync for RegressionResult
impl Unpin for RegressionResult
impl UnsafeUnpin for RegressionResult
impl UnwindSafe for RegressionResult
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