pub struct StagePreview {
pub message_count: usize,
pub estimated_token_savings: usize,
}Expand description
Stats for a single compaction stage.
Fields§
§message_count: usizeNumber of messages affected.
estimated_token_savings: usizeEstimated token savings.
Trait Implementations§
Source§impl Clone for StagePreview
impl Clone for StagePreview
Source§fn clone(&self) -> StagePreview
fn clone(&self) -> StagePreview
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 StagePreview
impl RefUnwindSafe for StagePreview
impl Send for StagePreview
impl Sync for StagePreview
impl Unpin for StagePreview
impl UnsafeUnpin for StagePreview
impl UnwindSafe for StagePreview
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