pub struct TestFile {
pub eval_set_id: String,
pub name: String,
pub description: String,
pub eval_cases: Vec<EvalCase>,
}Expand description
A complete test file containing multiple evaluation cases
Fields§
§eval_set_id: StringUnique identifier for this eval set
name: StringHuman-readable name
description: StringDescription of what these tests cover
eval_cases: Vec<EvalCase>List of evaluation cases
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TestFile
impl<'de> Deserialize<'de> for TestFile
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 Forget for TestFile
impl Freeze for TestFile
impl Move for TestFile
impl RefUnwindSafe for TestFile
impl Send for TestFile
impl Sync for TestFile
impl Unpin for TestFile
impl UnsafeUnpin for TestFilewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<EvalCase>: UnsafeUnpin,
impl UnwindSafe for TestFilewhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
Arc<[u8]>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
HashMap<String, Value>: UnwindSafe,
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