pub struct EvalReport {
pub suite_name: String,
pub results: Vec<TestResult>,
pub average_score: f64,
pub passed: usize,
pub total: usize,
}Expand description
An evaluation report.
Fields§
§suite_name: StringSuite name.
results: Vec<TestResult>Individual test results.
average_score: f64Average score across all tests and metrics.
passed: usizeNumber of tests that passed.
total: usizeTotal number of tests.
Implementations§
Trait Implementations§
Source§impl Clone for EvalReport
impl Clone for EvalReport
Source§fn clone(&self) -> EvalReport
fn clone(&self) -> EvalReport
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 moreSource§impl Debug for EvalReport
impl Debug for EvalReport
Source§impl<'de> Deserialize<'de> for EvalReport
impl<'de> Deserialize<'de> for EvalReport
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 EvalReportExport for EvalReport
impl EvalReportExport for EvalReport
Auto Trait Implementations§
impl Freeze for EvalReport
impl RefUnwindSafe for EvalReport
impl Send for EvalReport
impl Sync for EvalReport
impl Unpin for EvalReport
impl UnsafeUnpin for EvalReport
impl UnwindSafe for EvalReport
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