pub struct BatchMeta {
pub is_control: bool,
pub producer_id: i64,
pub existing_horizon: Option<i64>,
}Expand description
Per-batch facts the retain decision needs.
Fields§
§is_control: boolWhether the batch is a transactional control batch.
producer_id: i64Producer id for transactional batches. It is negative for non-transactional batches.
existing_horizon: Option<i64>The batch’s existing delete horizon, which is base_timestamp when bit
6 is set. It is None if the batch has never been stamped.
Trait Implementations§
impl Copy for BatchMeta
impl Eq for BatchMeta
impl StructuralPartialEq for BatchMeta
Auto Trait Implementations§
impl Freeze for BatchMeta
impl RefUnwindSafe for BatchMeta
impl Send for BatchMeta
impl Sync for BatchMeta
impl Unpin for BatchMeta
impl UnsafeUnpin for BatchMeta
impl UnwindSafe for BatchMeta
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