pub struct BenchCase {
pub id: String,
pub project_id: i64,
pub script_name: String,
pub bench_id: Option<i64>,
pub kind: String,
pub frozen: bool,
pub case_name: Option<String>,
pub inputs: Option<Value>,
pub expected_output: Option<Value>,
pub ground_truth: Option<Value>,
pub input_hash: Option<String>,
pub created_at: String,
}Expand description
Server-side projection of an executions row with kind='case'. Cases live
in the same table as live executions.
Fields§
§id: String§project_id: i64§script_name: String§bench_id: Option<i64>§kind: String§frozen: bool§case_name: Option<String>§inputs: Option<Value>§expected_output: Option<Value>§ground_truth: Option<Value>§input_hash: Option<String>SHA-256 hex (lowercase) of canonical_json(inputs). Used as one
component of the bench-result cache key. Nullable for legacy rows.
created_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for BenchCase
impl<'de> Deserialize<'de> for BenchCase
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 BenchCase
impl RefUnwindSafe for BenchCase
impl Send for BenchCase
impl Sync for BenchCase
impl Unpin for BenchCase
impl UnsafeUnpin for BenchCase
impl UnwindSafe for BenchCase
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