pub struct CompactionBoundary {
pub summary: String,
pub pre_tokens: usize,
pub post_tokens: usize,
pub timestamp_ms: u64,
}Expand description
A recorded compaction boundary — snapshot of a single compaction event.
Fields§
§summary: StringSummary text produced by the compaction pass.
pre_tokens: usizeEstimated tokens before compaction (in the compacted range).
post_tokens: usizeEstimated tokens after compaction (summary message tokens).
timestamp_ms: u64Timestamp of the compaction event (millis since UNIX epoch).
Trait Implementations§
Source§impl Clone for CompactionBoundary
impl Clone for CompactionBoundary
Source§fn clone(&self) -> CompactionBoundary
fn clone(&self) -> CompactionBoundary
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 moreSource§impl Debug for CompactionBoundary
impl Debug for CompactionBoundary
Source§impl<'de> Deserialize<'de> for CompactionBoundary
impl<'de> Deserialize<'de> for CompactionBoundary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CompactionBoundary
impl PartialEq for CompactionBoundary
Source§impl Serialize for CompactionBoundary
impl Serialize for CompactionBoundary
impl Eq for CompactionBoundary
impl StructuralPartialEq for CompactionBoundary
Auto Trait Implementations§
impl Freeze for CompactionBoundary
impl RefUnwindSafe for CompactionBoundary
impl Send for CompactionBoundary
impl Sync for CompactionBoundary
impl Unpin for CompactionBoundary
impl UnsafeUnpin for CompactionBoundary
impl UnwindSafe for CompactionBoundary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.