pub struct CaseResult {
pub case_id: String,
pub passed: bool,
pub score: f64,
pub details: Option<String>,
}Expand description
Result from a single test case in a task quality benchmark.
Fields§
§case_id: StringUnique identifier for the test case.
passed: boolWhether the test case passed.
score: f64Score for the test case (0.0 to 1.0).
details: Option<String>Optional details about the result (e.g., failure reason).
Trait Implementations§
Source§impl Clone for CaseResult
impl Clone for CaseResult
Source§fn clone(&self) -> CaseResult
fn clone(&self) -> CaseResult
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 CaseResult
impl Debug for CaseResult
Source§impl<'de> Deserialize<'de> for CaseResult
impl<'de> Deserialize<'de> for CaseResult
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
Source§impl PartialEq for CaseResult
impl PartialEq for CaseResult
Source§fn eq(&self, other: &CaseResult) -> bool
fn eq(&self, other: &CaseResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CaseResult
impl Serialize for CaseResult
impl StructuralPartialEq for CaseResult
Auto Trait Implementations§
impl Freeze for CaseResult
impl RefUnwindSafe for CaseResult
impl Send for CaseResult
impl Sync for CaseResult
impl Unpin for CaseResult
impl UnsafeUnpin for CaseResult
impl UnwindSafe for CaseResult
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