pub struct RegressionConfig {
pub baseline: Option<RegressionBaseline>,
}Expand description
The regression config section holding the saved issue-count baseline for
the --fail-on-regression gate.
Fields§
§baseline: Option<RegressionBaseline>The saved per-issue-type issue counts that --fail-on-regression compares the current run against; the gate fails only when counts grow beyond the configured tolerance. Typically written by --save-baseline rather than hand-authored; each field (total_issues plus per-kind counts like unused_exports, boundary_violations, policy_violations) is an integer defaulting to 0 when omitted. Absent means no baseline is embedded.
Trait Implementations§
Source§impl Clone for RegressionConfig
impl Clone for RegressionConfig
Source§impl Debug for RegressionConfig
impl Debug for RegressionConfig
Source§impl Default for RegressionConfig
impl Default for RegressionConfig
Source§impl<'de> Deserialize<'de> for RegressionConfig
impl<'de> Deserialize<'de> for RegressionConfig
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
Source§impl JsonSchema for RegressionConfig
impl JsonSchema for RegressionConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for RegressionConfig
impl RefUnwindSafe for RegressionConfig
impl Send for RegressionConfig
impl Sync for RegressionConfig
impl Unpin for RegressionConfig
impl UnsafeUnpin for RegressionConfig
impl UnwindSafe for RegressionConfig
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