pub struct CandidateReport {
pub name: String,
pub samples: usize,
pub ratio: Option<f64>,
pub relative_mad: Option<f64>,
pub verified: bool,
pub note: String,
}Expand description
One candidate’s local timing/validation metadata.
Fields§
§name: StringCandidate identity supplied by the adapter.
samples: usizeNumber of completed timing pairs; the reference row reports one baseline sample.
ratio: Option<f64>Median selected/reference ratio, or None when no acceptable score exists.
relative_mad: Option<f64>Relative median absolute deviation of paired ratios, when measured.
verified: boolWhether numerical validation passed for this trial.
note: StringTrial selection/rejection reason for diagnostics.
Trait Implementations§
Source§impl Clone for CandidateReport
impl Clone for CandidateReport
Source§fn clone(&self) -> CandidateReport
fn clone(&self) -> CandidateReport
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 CandidateReport
impl RefUnwindSafe for CandidateReport
impl Send for CandidateReport
impl Sync for CandidateReport
impl Unpin for CandidateReport
impl UnsafeUnpin for CandidateReport
impl UnwindSafe for CandidateReport
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