pub struct PruneResult {
pub pruned_count: usize,
pub tokens_freed: usize,
}Expand description
Result of a pruning pass.
Fields§
§pruned_count: usizeNumber of tool output messages marked as pruned.
tokens_freed: usizeEstimated number of tokens freed.
Trait Implementations§
Source§impl Clone for PruneResult
impl Clone for PruneResult
Source§fn clone(&self) -> PruneResult
fn clone(&self) -> PruneResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PruneResult
impl RefUnwindSafe for PruneResult
impl Send for PruneResult
impl Sync for PruneResult
impl Unpin for PruneResult
impl UnsafeUnpin for PruneResult
impl UnwindSafe for PruneResult
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