pub struct Eval {
pub id: String,
pub object: Option<String>,
pub created_at: Option<u64>,
pub data_source_config: Option<Value>,
pub testing_criteria: Option<Vec<Value>>,
pub name: Option<String>,
pub metadata: Option<HashMap<String, String>>,
}Expand description
An eval object.
Fields§
§id: StringThe eval ID, e.g. eval_....
object: Option<String>The object type, always eval.
created_at: Option<u64>Unix timestamp (seconds) of when the eval was created.
data_source_config: Option<Value>The configuration of the eval (testing criteria, data source), as raw JSON.
testing_criteria: Option<Vec<Value>>The testing criteria applied by the eval, as raw JSON.
name: Option<String>The name of the eval.
metadata: Option<HashMap<String, String>>Arbitrary key-value metadata attached to the eval.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Eval
impl<'de> Deserialize<'de> for Eval
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 Eval
impl RefUnwindSafe for Eval
impl Send for Eval
impl Sync for Eval
impl Unpin for Eval
impl UnsafeUnpin for Eval
impl UnwindSafe for Eval
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