pub struct ValidationResult {
pub algorithm: ValidationAlgorithm,
pub test_case: String,
pub passed: bool,
pub accuracy_score: f64,
pub standard_time: Duration,
pub advanced_time: Duration,
pub speedup_factor: f64,
pub metrics: ValidationMetrics,
pub error_message: Option<String>,
}Expand description
Result of a single validation run
Fields§
§algorithm: ValidationAlgorithmAlgorithm that was validated
test_case: StringTest case name
passed: boolWhether validation passed
accuracy_score: f64Validation score (1.0 = perfect match, 0.0 = complete mismatch)
standard_time: DurationExecution time for standard implementation
advanced_time: DurationExecution time for advanced implementation
speedup_factor: f64Performance speedup achieved
metrics: ValidationMetricsDetailed comparison metrics
error_message: Option<String>Error message if validation failed
Trait Implementations§
Source§impl Clone for ValidationResult
impl Clone for ValidationResult
Source§fn clone(&self) -> ValidationResult
fn clone(&self) -> ValidationResult
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 ValidationResult
impl RefUnwindSafe for ValidationResult
impl Send for ValidationResult
impl Sync for ValidationResult
impl Unpin for ValidationResult
impl UnwindSafe for ValidationResult
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