pub struct EvalCreateResponse {
pub id: String,
pub created_at: i64,
pub data_source_config: DataSourceConfig,
pub metadata: Option<Value>,
pub name: String,
pub object: String,
pub testing_criteria: Vec<TestingCriterion>,
}Expand description
An Eval object with a data source config and testing criteria.
Fields§
§id: StringUnique identifier for the evaluation.
created_at: i64The Unix timestamp (in seconds) for when the eval was created.
data_source_config: DataSourceConfigConfiguration of data sources used in runs of the evaluation.
metadata: Option<Value>Set of 16 key-value pairs that can be attached to an object.
name: StringThe name of the evaluation.
object: StringThe object type.
testing_criteria: Vec<TestingCriterion>A list of testing criteria.
Trait Implementations§
Source§impl Clone for EvalCreateResponse
impl Clone for EvalCreateResponse
Source§fn clone(&self) -> EvalCreateResponse
fn clone(&self) -> EvalCreateResponse
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 EvalCreateResponse
impl Debug for EvalCreateResponse
Source§impl<'de> Deserialize<'de> for EvalCreateResponse
impl<'de> Deserialize<'de> for EvalCreateResponse
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 EvalCreateResponse
impl RefUnwindSafe for EvalCreateResponse
impl Send for EvalCreateResponse
impl Sync for EvalCreateResponse
impl Unpin for EvalCreateResponse
impl UnsafeUnpin for EvalCreateResponse
impl UnwindSafe for EvalCreateResponse
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