pub struct RepairOutcome {
pub fixed: Vec<Violation>,
pub introduced: Vec<Violation>,
pub remaining: Vec<Violation>,
}Expand description
The gate’s verdict on a candidate ΔG.
Fields§
§fixed: Vec<Violation>Violations present in G that ΔG removes.
introduced: Vec<Violation>New violations ΔG would cause (empty ⟺ sound).
remaining: Vec<Violation>Pre-existing violations still unaddressed.
Implementations§
Source§impl RepairOutcome
impl RepairOutcome
Trait Implementations§
Source§impl Clone for RepairOutcome
impl Clone for RepairOutcome
Source§fn clone(&self) -> RepairOutcome
fn clone(&self) -> RepairOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RepairOutcome
impl Debug for RepairOutcome
Source§impl Default for RepairOutcome
impl Default for RepairOutcome
Source§fn default() -> RepairOutcome
fn default() -> RepairOutcome
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepairOutcome
impl<'de> Deserialize<'de> for RepairOutcome
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
impl Eq for RepairOutcome
Source§impl PartialEq for RepairOutcome
impl PartialEq for RepairOutcome
Source§fn eq(&self, other: &RepairOutcome) -> bool
fn eq(&self, other: &RepairOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RepairOutcome
impl Serialize for RepairOutcome
impl StructuralPartialEq for RepairOutcome
Auto Trait Implementations§
impl Freeze for RepairOutcome
impl RefUnwindSafe for RepairOutcome
impl Send for RepairOutcome
impl Sync for RepairOutcome
impl Unpin for RepairOutcome
impl UnsafeUnpin for RepairOutcome
impl UnwindSafe for RepairOutcome
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.