pub struct BenchmarkRun {
pub id: i64,
pub run_type: BenchmarkRunType,
pub status: BenchmarkRunStatus,
pub model_ids: Vec<i64>,
pub prompt_text: Option<String>,
pub system_prompt: Option<String>,
pub config_json: Option<String>,
pub error: Option<String>,
pub created_at: DateTime<Utc>,
pub completed_at: Option<DateTime<Utc>>,
}Expand description
Lightweight record grouping one or more model results under a single run.
Fields§
§id: i64Database ID of the run.
run_type: BenchmarkRunTypeWhether this is a compare, perf, or tune run.
status: BenchmarkRunStatusCurrent lifecycle state.
model_ids: Vec<i64>Ordered list of model IDs that were (or will be) benchmarked.
prompt_text: Option<String>Prompt text used for compare runs (absent for perf/tune runs).
system_prompt: Option<String>System prompt used for compare runs.
config_json: Option<String>Serialised run configuration (CompareConfig, PerfConfig, or
TuneConfig JSON).
error: Option<String>Error message if the run failed.
created_at: DateTime<Utc>UTC timestamp when the run was created.
completed_at: Option<DateTime<Utc>>UTC timestamp when the run completed or failed.
Trait Implementations§
Source§impl Clone for BenchmarkRun
impl Clone for BenchmarkRun
Source§fn clone(&self) -> BenchmarkRun
fn clone(&self) -> BenchmarkRun
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 BenchmarkRun
impl Debug for BenchmarkRun
Source§impl<'de> Deserialize<'de> for BenchmarkRun
impl<'de> Deserialize<'de> for BenchmarkRun
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 BenchmarkRun
impl RefUnwindSafe for BenchmarkRun
impl Send for BenchmarkRun
impl Sync for BenchmarkRun
impl Unpin for BenchmarkRun
impl UnsafeUnpin for BenchmarkRun
impl UnwindSafe for BenchmarkRun
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