pub struct RegressionConfig {
pub baseline: Option<RegressionBaseline>,
}Expand description
Regression baseline counts, embedded in the config file.
When --fail-on-regression is used without --regression-baseline <PATH>,
fallow reads the baseline from this config section.
When --save-regression-baseline is used without a path argument,
fallow writes the baseline into the config file.
Fields§
§baseline: Option<RegressionBaseline>Dead code issue counts baseline.
Trait Implementations§
Source§impl Clone for RegressionConfig
impl Clone for RegressionConfig
Source§fn clone(&self) -> RegressionConfig
fn clone(&self) -> RegressionConfig
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 RegressionConfig
impl Debug for RegressionConfig
Source§impl Default for RegressionConfig
impl Default for RegressionConfig
Source§fn default() -> RegressionConfig
fn default() -> RegressionConfig
Returns the “default value” for a type. Read more
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