pub struct ContextReceipt {
pub schema_version: u32,
pub generated_at_ms: u128,
pub tool: ToolInfo,
pub mode: String,
pub budget_tokens: usize,
pub used_tokens: usize,
pub utilization_pct: f64,
pub strategy: String,
pub rank_by: String,
pub file_count: usize,
pub files: Vec<ContextFileRow>,
}Fields§
§schema_version: u32§generated_at_ms: u128§tool: ToolInfo§mode: String§budget_tokens: usize§used_tokens: usize§utilization_pct: f64§strategy: String§rank_by: String§file_count: usize§files: Vec<ContextFileRow>Trait Implementations§
Source§impl Clone for ContextReceipt
impl Clone for ContextReceipt
Source§fn clone(&self) -> ContextReceipt
fn clone(&self) -> ContextReceipt
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 ContextReceipt
impl Debug for ContextReceipt
Source§impl<'de> Deserialize<'de> for ContextReceipt
impl<'de> Deserialize<'de> for ContextReceipt
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 ContextReceipt
impl RefUnwindSafe for ContextReceipt
impl Send for ContextReceipt
impl Sync for ContextReceipt
impl Unpin for ContextReceipt
impl UnwindSafe for ContextReceipt
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