pub struct EvalUpdateResponse {
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 EvalUpdateResponse
impl Clone for EvalUpdateResponse
Source§fn clone(&self) -> EvalUpdateResponse
fn clone(&self) -> EvalUpdateResponse
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 EvalUpdateResponse
impl Debug for EvalUpdateResponse
Source§impl<'de> Deserialize<'de> for EvalUpdateResponse
impl<'de> Deserialize<'de> for EvalUpdateResponse
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 EvalUpdateResponse
impl RefUnwindSafe for EvalUpdateResponse
impl Send for EvalUpdateResponse
impl Sync for EvalUpdateResponse
impl Unpin for EvalUpdateResponse
impl UnsafeUnpin for EvalUpdateResponse
impl UnwindSafe for EvalUpdateResponse
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