pub struct RetentionSegment {
pub base_position: u64,
pub bytes: u64,
}Expand description
A whole closed segment that a retention plan could reclaim.
Fields§
§base_position: u64Original base position encoded in the segment filename.
bytes: u64Current on-disk length of the segment.
Trait Implementations§
Source§impl Clone for RetentionSegment
impl Clone for RetentionSegment
Source§fn clone(&self) -> RetentionSegment
fn clone(&self) -> RetentionSegment
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 moreSource§impl Debug for RetentionSegment
impl Debug for RetentionSegment
impl Eq for RetentionSegment
Source§impl PartialEq for RetentionSegment
impl PartialEq for RetentionSegment
impl StructuralPartialEq for RetentionSegment
Auto Trait Implementations§
impl Freeze for RetentionSegment
impl RefUnwindSafe for RetentionSegment
impl Send for RetentionSegment
impl Sync for RetentionSegment
impl Unpin for RetentionSegment
impl UnsafeUnpin for RetentionSegment
impl UnwindSafe for RetentionSegment
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