pub struct RatchetConfig {
pub rules: Vec<RatchetRule>,
pub fail_fast: bool,
pub allow_missing_baseline: bool,
pub allow_missing_current: bool,
}Expand description
Configuration for ratchet rules.
Fields§
§rules: Vec<RatchetRule>Ratchet rules to evaluate.
fail_fast: boolStop evaluation on first error.
allow_missing_baseline: boolAllow missing baseline values (treat as pass) instead of error.
allow_missing_current: boolAllow missing current values (treat as pass) instead of error.
Implementations§
Trait Implementations§
Source§impl Clone for RatchetConfig
impl Clone for RatchetConfig
Source§fn clone(&self) -> RatchetConfig
fn clone(&self) -> RatchetConfig
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 RatchetConfig
impl Debug for RatchetConfig
Source§impl Default for RatchetConfig
impl Default for RatchetConfig
Source§fn default() -> RatchetConfig
fn default() -> RatchetConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RatchetConfigwhere
RatchetConfig: Default,
impl<'de> Deserialize<'de> for RatchetConfigwhere
RatchetConfig: Default,
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 RatchetConfig
impl RefUnwindSafe for RatchetConfig
impl Send for RatchetConfig
impl Sync for RatchetConfig
impl Unpin for RatchetConfig
impl UnsafeUnpin for RatchetConfig
impl UnwindSafe for RatchetConfig
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