pub struct CIDConfig {
pub pr_coverage_threshold: f64,
pub diff_coverage_threshold: f64,
pub failure_on_regression: bool,
pub post_results_to_pr: bool,
pub badge_generation: bool,
}Expand description
Configuration for CI/CD coverage checks
Fields§
§pr_coverage_threshold: f64§diff_coverage_threshold: f64§failure_on_regression: bool§post_results_to_pr: bool§badge_generation: boolImplementations§
Source§impl CIDConfig
impl CIDConfig
pub fn new() -> Self
pub fn with_pr_coverage_threshold(self, threshold: f64) -> Self
pub fn with_diff_coverage_threshold(self, threshold: f64) -> Self
pub fn with_failure_on_regression(self, enabled: bool) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CIDConfig
impl RefUnwindSafe for CIDConfig
impl Send for CIDConfig
impl Sync for CIDConfig
impl Unpin for CIDConfig
impl UnwindSafe for CIDConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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