pub struct EvalSample {
pub cases: Vec<EvalCase>,
pub case_ids: Vec<String>,
}Expand description
A sample drawn from the evaluation set for optimization.
Fields§
§cases: Vec<EvalCase>The evaluation cases in this sample.
case_ids: Vec<String>IDs of the sampled cases.
Trait Implementations§
Source§impl Clone for EvalSample
impl Clone for EvalSample
Source§fn clone(&self) -> EvalSample
fn clone(&self) -> EvalSample
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 moreAuto Trait Implementations§
impl Freeze for EvalSample
impl RefUnwindSafe for EvalSample
impl Send for EvalSample
impl Sync for EvalSample
impl Unpin for EvalSample
impl UnsafeUnpin for EvalSample
impl UnwindSafe for EvalSample
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