pub struct ContextLogRecord {
pub schema_version: u32,
pub generated_at_ms: u128,
pub tool: ToolInfo,
pub budget_tokens: usize,
pub used_tokens: usize,
pub utilization_pct: f64,
pub strategy: String,
pub rank_by: String,
pub file_count: usize,
pub total_bytes: usize,
pub output_destination: String,
}Expand description
Log record for context command JSONL append mode. Contains metadata only (not file contents) for lightweight logging.
Fields§
§schema_version: u32§generated_at_ms: u128§tool: ToolInfo§budget_tokens: usize§used_tokens: usize§utilization_pct: f64§strategy: String§rank_by: String§file_count: usize§total_bytes: usize§output_destination: StringTrait Implementations§
Source§impl Clone for ContextLogRecord
impl Clone for ContextLogRecord
Source§fn clone(&self) -> ContextLogRecord
fn clone(&self) -> ContextLogRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 ContextLogRecord
impl Debug for ContextLogRecord
Source§impl<'de> Deserialize<'de> for ContextLogRecord
impl<'de> Deserialize<'de> for ContextLogRecord
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 ContextLogRecord
impl RefUnwindSafe for ContextLogRecord
impl Send for ContextLogRecord
impl Sync for ContextLogRecord
impl Unpin for ContextLogRecord
impl UnsafeUnpin for ContextLogRecord
impl UnwindSafe for ContextLogRecord
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