pub struct LedgerEntry {
pub key: String,
pub digest: String,
pub version: u64,
pub deleted: bool,
pub changed_at: u64,
}Expand description
One row of the ledger (replica_rows): a key and what is known about it,
never its value.
Fields§
§key: StringThe row’s key.
digest: StringSee crate::digest::row_digest; empty for a delete recorded without
ever having seen the row.
version: u64The version at which the row last changed.
deleted: boolThe row was deleted at version: this entry is a tombstone.
changed_at: u64Unix ms; used for the tombstone age only.
Trait Implementations§
Source§impl Clone for LedgerEntry
impl Clone for LedgerEntry
Source§impl Debug for LedgerEntry
impl Debug for LedgerEntry
impl Eq for LedgerEntry
Source§impl PartialEq for LedgerEntry
impl PartialEq for LedgerEntry
impl StructuralPartialEq for LedgerEntry
Auto Trait Implementations§
impl Forget for LedgerEntry
impl Freeze for LedgerEntry
impl Move for LedgerEntry
impl RefUnwindSafe for LedgerEntry
impl Send for LedgerEntry
impl Sync for LedgerEntry
impl Unpin for LedgerEntry
impl UnsafeUnpin for LedgerEntry
impl UnwindSafe for LedgerEntry
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