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