pub struct HealthFindingMutation {
pub state: HealthMutationState,
pub stale_reason: Option<HealthMutationStaleReason>,
pub score: Option<f64>,
pub counts: Option<MutationStatusCounts>,
}Expand description
The mutation evidence of one complexity finding.
Fields§
§state: HealthMutationStateWhether the evidence describes the current file.
stale_reason: Option<HealthMutationStaleReason>Why the evidence is stale. Absent when the state is fresh.
score: Option<f64>The mutation score of the function, a fraction from 0 to 1:
(killed + timeout) / (killed + timeout + survived). Absent when the
state is stale, and when no mutant of the function ran to a tested
result.
counts: Option<MutationStatusCounts>The number of mutants of the function for each status. Absent when
the state is stale.
Trait Implementations§
Source§impl Clone for HealthFindingMutation
impl Clone for HealthFindingMutation
Source§impl Debug for HealthFindingMutation
impl Debug for HealthFindingMutation
Source§impl<'de> Deserialize<'de> for HealthFindingMutation
impl<'de> Deserialize<'de> for HealthFindingMutation
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 PartialEq for HealthFindingMutation
impl PartialEq for HealthFindingMutation
Source§impl Serialize for HealthFindingMutation
impl Serialize for HealthFindingMutation
impl StructuralPartialEq for HealthFindingMutation
Auto Trait Implementations§
impl Freeze for HealthFindingMutation
impl RefUnwindSafe for HealthFindingMutation
impl Send for HealthFindingMutation
impl Sync for HealthFindingMutation
impl Unpin for HealthFindingMutation
impl UnsafeUnpin for HealthFindingMutation
impl UnwindSafe for HealthFindingMutation
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