pub struct Version {
pub is_committed: bool,
pub is_removed: bool,
pub timestamp: u64,
/* private fields */
}Expand description
A version of a key-value pair in a store at a particular point in time.
Fields§
§is_committed: boolTrue if the entry is persisted in the store, false if not yet committed.
is_removed: boolTrue if the key is removed (“moved to trash”), false otherwise.
timestamp: u64Timestamp of the version in milliseconds since the Unix epoch.
Trait Implementations§
impl Copy for Version
impl Eq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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