pub struct ModeSummary {
pub mode: String,
pub total_compressed_tokens: usize,
pub avg_savings_pct: f64,
pub avg_latency_us: u64,
pub avg_preservation: f64,
}Fields§
§mode: String§total_compressed_tokens: usize§avg_savings_pct: f64§avg_latency_us: u64§avg_preservation: f64Trait Implementations§
Source§impl Clone for ModeSummary
impl Clone for ModeSummary
Source§fn clone(&self) -> ModeSummary
fn clone(&self) -> ModeSummary
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 ModeSummary
impl RefUnwindSafe for ModeSummary
impl Send for ModeSummary
impl Sync for ModeSummary
impl Unpin for ModeSummary
impl UnsafeUnpin for ModeSummary
impl UnwindSafe for ModeSummary
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