pub struct Candidate {
pub id: String,
pub function: String,
pub requirement_id: String,
pub guarantee_sha256: String,
pub replacement: String,
pub body_start: usize,
pub body_end: usize,
pub source: Submission,
}Expand description
One body-only candidate, with unchanged contracts and surrounding source bytes.
Fields§
§id: StringContent-derived candidate identity.
function: StringExact original qualified function identity.
requirement_id: StringRequirement carried by the unchanged guarantee.
guarantee_sha256: StringUnchanged guarantee syntax identity.
replacement: StringLiteral body replacement label.
body_start: usizeOriginal executable body byte range start, inclusive.
body_end: usizeOriginal executable body byte range end, exclusive.
source: SubmissionExact actual mutant source submitted to the original verifier boundary.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Candidate
impl<'de> Deserialize<'de> for Candidate
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 Candidate
impl StructuralPartialEq for Candidate
Auto Trait Implementations§
impl Freeze for Candidate
impl RefUnwindSafe for Candidate
impl Send for Candidate
impl Sync for Candidate
impl Unpin for Candidate
impl UnsafeUnpin for Candidate
impl UnwindSafe for Candidate
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