pub struct CandidateReport {
pub id: String,
pub config: String,
pub verdict: String,
pub rules: Vec<RuleRef>,
pub measurement_status: String,
pub summary: Option<Summary>,
pub measurement_error: Option<String>,
pub gpu_seconds: f64,
}Expand description
Every candidate the run considered, admitted or not, measured or not.
Fields§
§id: StringIts canonical config.v1 ID.
config: StringIts dimension assignments.
verdict: Stringclean | admitted_with_caveats | disqualified | tool_error
rules: Vec<RuleRef>Rules that fired: refusals when disqualified, caveats when admitted with them, empty when clean.
measurement_status: Stringok | error | timeout | unmeasured
summary: Option<Summary>Timing summary, present exactly when measurement_status is ok.
measurement_error: Option<String>Why the measurement failed, when it did — including the timeout message for a candidate that hung, which is the gate being right.
gpu_seconds: f64Wall-clock GPU seconds this candidate consumed, spent or wasted.
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 moreSource§impl Debug for CandidateReport
impl Debug for CandidateReport
Source§impl<'de> Deserialize<'de> for CandidateReport
impl<'de> Deserialize<'de> for CandidateReport
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
Auto 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