pub struct TranspilerVerification {
pub source_code: String,
pub target_code: Option<String>,
pub source_result: Option<ExecutionResult>,
pub target_result: Option<ExecutionResult>,
pub diff: Option<DiffResult>,
pub verdict: TranspilerVerdict,
pub input: String,
}Expand description
Verification result for a single test case
Fields§
§source_code: StringOriginal source code
target_code: Option<String>Transpiled target code (if successful)
source_result: Option<ExecutionResult>Source execution result
target_result: Option<ExecutionResult>Target execution result
diff: Option<DiffResult>Diff result comparing outputs
verdict: TranspilerVerdictOverall verdict
input: StringTest input used
Trait Implementations§
Source§impl Clone for TranspilerVerification
impl Clone for TranspilerVerification
Source§fn clone(&self) -> TranspilerVerification
fn clone(&self) -> TranspilerVerification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TranspilerVerification
impl RefUnwindSafe for TranspilerVerification
impl Send for TranspilerVerification
impl Sync for TranspilerVerification
impl Unpin for TranspilerVerification
impl UnsafeUnpin for TranspilerVerification
impl UnwindSafe for TranspilerVerification
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more