pub struct HarnessOutcome {
pub result: String,
pub passed: bool,
pub iterations: u32,
pub total_tokens: u64,
pub status: String,
pub overall_score: f32,
pub feedback: Option<String>,
pub details: Vec<CriterionResult>,
}Fields§
§result: String§passed: bool§iterations: u32§total_tokens: u64§status: String§overall_score: f32§feedback: Option<String>§details: Vec<CriterionResult>Trait Implementations§
Source§impl Clone for HarnessOutcome
impl Clone for HarnessOutcome
Source§fn clone(&self) -> HarnessOutcome
fn clone(&self) -> HarnessOutcome
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 HarnessOutcome
impl RefUnwindSafe for HarnessOutcome
impl Send for HarnessOutcome
impl Sync for HarnessOutcome
impl Unpin for HarnessOutcome
impl UnsafeUnpin for HarnessOutcome
impl UnwindSafe for HarnessOutcome
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