pub struct VersionEntry {
pub from_ci: u64,
pub to_ci: u64,
pub value: Option<Vec<u8>>,
}Expand description
One superseded value of a key, covering the half-open range [from,to).
Fields§
§from_ci: u64Commit index at which this version became current.
to_ci: u64Commit index that superseded this version; 0 means still current.
value: Option<Vec<u8>>Stored value; None represents a deletion.
Trait Implementations§
Source§impl Clone for VersionEntry
impl Clone for VersionEntry
Source§impl Debug for VersionEntry
impl Debug for VersionEntry
Source§impl<'de> Deserialize<'de> for VersionEntry
impl<'de> Deserialize<'de> for VersionEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VersionEntry
Source§impl PartialEq for VersionEntry
impl PartialEq for VersionEntry
Source§impl Serialize for VersionEntry
impl Serialize for VersionEntry
impl StructuralPartialEq for VersionEntry
Auto Trait Implementations§
impl Freeze for VersionEntry
impl RefUnwindSafe for VersionEntry
impl Send for VersionEntry
impl Sync for VersionEntry
impl Unpin for VersionEntry
impl UnsafeUnpin for VersionEntry
impl UnwindSafe for VersionEntry
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.