pub struct MutationVerdict {
pub review_key: String,
pub verdict: MutationVerdictKind,
pub note: Option<String>,
}Expand description
One reviewed mutant.
Fields§
§review_key: StringThe review key of the mutant. It is the mutant_id: the id hashes the
path, the text of the enclosing function, the relative span, the
operator and the replacement, so it stays the same until the function
changes.
verdict: MutationVerdictKindThe judgment.
note: Option<String>A short reason, for human review.
Trait Implementations§
Source§impl Clone for MutationVerdict
impl Clone for MutationVerdict
Source§impl Debug for MutationVerdict
impl Debug for MutationVerdict
Source§impl<'de> Deserialize<'de> for MutationVerdict
impl<'de> Deserialize<'de> for MutationVerdict
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 MutationVerdict
Source§impl PartialEq for MutationVerdict
impl PartialEq for MutationVerdict
Source§impl Serialize for MutationVerdict
impl Serialize for MutationVerdict
impl StructuralPartialEq for MutationVerdict
Auto Trait Implementations§
impl Freeze for MutationVerdict
impl RefUnwindSafe for MutationVerdict
impl Send for MutationVerdict
impl Sync for MutationVerdict
impl Unpin for MutationVerdict
impl UnsafeUnpin for MutationVerdict
impl UnwindSafe for MutationVerdict
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.