pub struct CompressionStats {
pub total_tokens_processed: u64,
pub total_tokens_saved: u64,
pub cache_entries: usize,
pub per_agent: HashMap<u32, AgentTokenStats>,
pub sqz_stats: Option<String>,
}Fields§
§total_tokens_processed: u64§total_tokens_saved: u64§cache_entries: usize§per_agent: HashMap<u32, AgentTokenStats>§sqz_stats: Option<String>Raw output of sqz stats when sqz is installed
Trait Implementations§
Source§impl Clone for CompressionStats
impl Clone for CompressionStats
Source§fn clone(&self) -> CompressionStats
fn clone(&self) -> CompressionStats
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 moreAuto Trait Implementations§
impl Freeze for CompressionStats
impl RefUnwindSafe for CompressionStats
impl Send for CompressionStats
impl Sync for CompressionStats
impl Unpin for CompressionStats
impl UnsafeUnpin for CompressionStats
impl UnwindSafe for CompressionStats
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