pub struct TupleMeta {
pub insert_txn_id: TransactionId,
pub insert_cid: CommandId,
pub delete_txn_id: TransactionId,
pub delete_cid: CommandId,
pub is_deleted: bool,
pub next_version: Option<RecordId>,
pub prev_version: Option<RecordId>,
}Fields§
§insert_txn_id: TransactionId§insert_cid: CommandId§delete_txn_id: TransactionId§delete_cid: CommandId§is_deleted: bool§next_version: Option<RecordId>§prev_version: Option<RecordId>Implementations§
Source§impl TupleMeta
impl TupleMeta
pub fn new(insert_txn_id: TransactionId, insert_cid: CommandId) -> Self
pub fn mark_deleted(&mut self, txn_id: TransactionId, delete_cid: CommandId)
pub fn clear_delete(&mut self)
pub fn set_next_version(&mut self, next: Option<RecordId>)
pub fn set_prev_version(&mut self, prev: Option<RecordId>)
pub fn clear_chain(&mut self)
Trait Implementations§
impl Copy for TupleMeta
impl Eq for TupleMeta
impl StructuralPartialEq for TupleMeta
Auto Trait Implementations§
impl Freeze for TupleMeta
impl RefUnwindSafe for TupleMeta
impl Send for TupleMeta
impl Sync for TupleMeta
impl Unpin for TupleMeta
impl UnsafeUnpin for TupleMeta
impl UnwindSafe for TupleMeta
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§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.