pub struct EvalCreateParams {
pub data_source_config: DataSourceConfig,
pub testing_criteria: Vec<TestingCriterion>,
pub metadata: Option<Value>,
pub name: Option<String>,
}Fields§
§data_source_config: DataSourceConfigThe configuration for the data source used for the evaluation runs.
testing_criteria: Vec<TestingCriterion>A list of graders for all eval runs in this group.
metadata: Option<Value>Set of 16 key-value pairs that can be attached to an object.
name: Option<String>The name of the evaluation.
Trait Implementations§
Source§impl Clone for EvalCreateParams
impl Clone for EvalCreateParams
Source§fn clone(&self) -> EvalCreateParams
fn clone(&self) -> EvalCreateParams
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 EvalCreateParams
impl Debug for EvalCreateParams
Source§impl<'de> Deserialize<'de> for EvalCreateParams
impl<'de> Deserialize<'de> for EvalCreateParams
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 Freeze for EvalCreateParams
impl RefUnwindSafe for EvalCreateParams
impl Send for EvalCreateParams
impl Sync for EvalCreateParams
impl Unpin for EvalCreateParams
impl UnsafeUnpin for EvalCreateParams
impl UnwindSafe for EvalCreateParams
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