pub struct Horizon {
pub max_age_ms: u64,
pub max_count: u64,
}Expand description
How long, and how many, tombstones are kept (section 4.7).
Fields§
§max_age_ms: u64A tombstone older than this (unix ms since its delete) is pruned.
max_count: u64At most this many tombstones are kept per collection; the oldest go first.
Implementations§
Trait Implementations§
impl Copy for Horizon
impl Eq for Horizon
impl StructuralPartialEq for Horizon
Auto Trait Implementations§
impl Forget for Horizon
impl Freeze for Horizon
impl Move for Horizon
impl RefUnwindSafe for Horizon
impl Send for Horizon
impl Sync for Horizon
impl Unpin for Horizon
impl UnsafeUnpin for Horizon
impl UnwindSafe for Horizon
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