pub struct MutationInspectOutput {
pub schema_version: MutationInspectSchemaVersion,
pub version: ToolVersion,
pub status: MutationInspectStatus,
pub stale_reason: Option<MutationStaleReason>,
pub location: MutantLocation,
pub report_status: Option<MutantStatus>,
pub report_sha256: Option<String>,
pub current_sha256: Option<String>,
pub code: Option<MutationInspectCode>,
pub covering_tests: Vec<String>,
pub static_test_files: Vec<String>,
pub killed_by: Option<String>,
}Expand description
The envelope of fallow mutation inspect. It runs no user code.
Fields§
§schema_version: MutationInspectSchemaVersionIndependent schema version.
version: ToolVersionThe Fallow version.
status: MutationInspectStatusWhether the report still describes the current file.
stale_reason: Option<MutationStaleReason>Why the packet is stale. Absent for a fresh packet.
location: MutantLocationThe mutant and its position, from the report.
report_status: Option<MutantStatus>The status of the mutant in the report. Absent for a plan.
report_sha256: Option<String>The SHA-256 digest of the file in the report.
current_sha256: Option<String>The SHA-256 digest of the current file. null when the file is
missing.
code: Option<MutationInspectCode>The original and mutated code. null for a stale packet.
covering_tests: Vec<String>The tests that reached the mutant in the dry run, sorted.
static_test_files: Vec<String>The test files that reach the file in the module graph, sorted.
killed_by: Option<String>The test that killed the mutant in the run of the report.
Trait Implementations§
Source§impl Clone for MutationInspectOutput
impl Clone for MutationInspectOutput
Source§impl Debug for MutationInspectOutput
impl Debug for MutationInspectOutput
impl Eq for MutationInspectOutput
Source§impl PartialEq for MutationInspectOutput
impl PartialEq for MutationInspectOutput
Source§impl Serialize for MutationInspectOutput
impl Serialize for MutationInspectOutput
impl StructuralPartialEq for MutationInspectOutput
Auto Trait Implementations§
impl Freeze for MutationInspectOutput
impl RefUnwindSafe for MutationInspectOutput
impl Send for MutationInspectOutput
impl Sync for MutationInspectOutput
impl Unpin for MutationInspectOutput
impl UnsafeUnpin for MutationInspectOutput
impl UnwindSafe for MutationInspectOutput
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,
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.