pub struct ExperimentResult {
pub run_id: String,
pub mode: ExperimentMode,
pub baseline_descriptor: BaselineDescriptor,
pub baseline_result: CheckResult,
pub patched_result: CheckResult,
pub diff: ExperimentDiff,
pub trials: Vec<TrialRecord>,
pub completed_at: String,
}Expand description
Result of running an experiment.
Note: CheckResult is not directly serializable (comes from check-runner primitive), so we serialize the diff + trial summaries instead. The full CheckResults are available in-memory for downstream processing.
Fields§
§run_id: String§mode: ExperimentMode§baseline_descriptor: BaselineDescriptor§baseline_result: CheckResult§patched_result: CheckResult§diff: ExperimentDiff§trials: Vec<TrialRecord>§completed_at: StringTrait Implementations§
Source§impl Clone for ExperimentResult
impl Clone for ExperimentResult
Source§fn clone(&self) -> ExperimentResult
fn clone(&self) -> ExperimentResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExperimentResult
impl RefUnwindSafe for ExperimentResult
impl Send for ExperimentResult
impl Sync for ExperimentResult
impl Unpin for ExperimentResult
impl UnsafeUnpin for ExperimentResult
impl UnwindSafe for ExperimentResult
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