pub struct RunRecord {
pub id: i64,
pub command: String,
pub status: String,
pub agent: Option<String>,
pub exit_code: Option<i32>,
pub duration_ms: Option<u64>,
pub original_tokens: Option<usize>,
pub packed_tokens: Option<usize>,
pub reduction_pct: Option<f64>,
pub fallback_used: bool,
pub pack_path: Option<String>,
pub created_at: String,
}Fields§
§id: i64§command: String§status: String§agent: Option<String>§exit_code: Option<i32>§duration_ms: Option<u64>§original_tokens: Option<usize>§packed_tokens: Option<usize>§reduction_pct: Option<f64>§fallback_used: bool§pack_path: Option<String>§created_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for RunRecord
impl<'de> Deserialize<'de> for RunRecord
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 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