pub struct RunRecord {Show 34 fields
pub id: String,
pub session_id: String,
pub created_at: String,
pub repo_root: String,
pub cwd: String,
pub shim_name: String,
pub argv_json: String,
pub command_original: String,
pub command_family: String,
pub command_key: String,
pub classification: String,
pub exit_code: i64,
pub duration_ms: i64,
pub overhead_ms: i64,
pub stdout_path: Option<String>,
pub stderr_path: Option<String>,
pub normalized_path: Option<String>,
pub raw_stdout_bytes: i64,
pub raw_stderr_bytes: i64,
pub raw_total_bytes: i64,
pub emitted_bytes: i64,
pub estimated_raw_tokens: i64,
pub estimated_emitted_tokens: i64,
pub estimated_saved_tokens: i64,
pub normalized_hash: Option<String>,
pub stdout_hash: Option<String>,
pub stderr_hash: Option<String>,
pub git_head: Option<String>,
pub git_worktree_hash: Option<String>,
pub comparison_base_run_id: Option<String>,
pub comparison_result: String,
pub summary: Option<String>,
pub full_output_requested: i64,
pub internal_error: Option<String>,
}Expand description
One captured command run. Mirrors the runs table (spec §15.1) plus
overhead_ms. classification/comparison_result are stored as strings.
Fields§
§id: String§session_id: String§created_at: String§repo_root: String§cwd: String§shim_name: String§argv_json: String§command_original: String§command_family: String§command_key: String§classification: String§exit_code: i64§duration_ms: i64§overhead_ms: i64§stdout_path: Option<String>§stderr_path: Option<String>§normalized_path: Option<String>§raw_stdout_bytes: i64§raw_stderr_bytes: i64§raw_total_bytes: i64§emitted_bytes: i64§estimated_raw_tokens: i64§estimated_emitted_tokens: i64§estimated_saved_tokens: i64§normalized_hash: Option<String>§stdout_hash: Option<String>§stderr_hash: Option<String>§git_head: Option<String>§git_worktree_hash: Option<String>§comparison_base_run_id: Option<String>§comparison_result: String§summary: Option<String>§full_output_requested: i64§internal_error: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunRecord
impl RefUnwindSafe for RunRecord
impl Send for RunRecord
impl Sync for RunRecord
impl Unpin for RunRecord
impl UnsafeUnpin for RunRecord
impl UnwindSafe for RunRecord
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