pub enum StateCheckViolation {
RatchetFileDeleted {
path: String,
},
RatchetEntryRemoved {
source_set: Option<String>,
metric: String,
base_ceiling: f64,
metric_version: u32,
},
RatchetCeilingRaised {
source_set: Option<String>,
metric: String,
base_ceiling: f64,
head_ceiling: f64,
metric_version: u32,
},
BaselineFindingsAdded {
source_set: Option<String>,
metric: String,
base_count: usize,
head_count: usize,
added_count: usize,
added_ids: Vec<String>,
metric_version: u32,
},
}Variants§
Implementations§
Source§impl StateCheckViolation
impl StateCheckViolation
pub fn metric_label(&self) -> Option<String>
Trait Implementations§
Source§impl Clone for StateCheckViolation
impl Clone for StateCheckViolation
Source§impl Debug for StateCheckViolation
impl Debug for StateCheckViolation
Source§impl<'de> Deserialize<'de> for StateCheckViolation
impl<'de> Deserialize<'de> for StateCheckViolation
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 Display for StateCheckViolation
impl Display for StateCheckViolation
Source§impl PartialEq for StateCheckViolation
impl PartialEq for StateCheckViolation
Source§impl Serialize for StateCheckViolation
impl Serialize for StateCheckViolation
impl StructuralPartialEq for StateCheckViolation
Auto Trait Implementations§
impl Forget for StateCheckViolation
impl Freeze for StateCheckViolation
impl Move for StateCheckViolation
impl RefUnwindSafe for StateCheckViolation
impl Send for StateCheckViolationwhere
RawVecInner: Send,
impl Sync for StateCheckViolationwhere
RawVecInner: Sync,
impl Unpin for StateCheckViolation
impl UnsafeUnpin for StateCheckViolationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for StateCheckViolationwhere
RawVecInner: UnwindSafe,
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