pub struct CompressedContext {
pub text: String,
pub original_tokens: usize,
pub compressed_tokens: usize,
pub cache_hit: bool,
pub used_sqz: bool,
}Fields§
§text: String§original_tokens: usize§compressed_tokens: usize§cache_hit: bool§used_sqz: booltrue when the real sqz binary was used
Trait Implementations§
Source§impl Clone for CompressedContext
impl Clone for CompressedContext
Source§fn clone(&self) -> CompressedContext
fn clone(&self) -> CompressedContext
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 CompressedContext
impl RefUnwindSafe for CompressedContext
impl Send for CompressedContext
impl Sync for CompressedContext
impl Unpin for CompressedContext
impl UnsafeUnpin for CompressedContext
impl UnwindSafe for CompressedContext
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