pub struct SSTableEntry {
pub key: Vec<u8>,
pub entry_type: u8,
pub value: Vec<u8>,
}Expand description
A single entry in an SSTable
Fields§
§key: Vec<u8>The key
entry_type: u8Entry type: 0 = value, 1 = tombstone
value: Vec<u8>The value (empty for tombstones)
Implementations§
Trait Implementations§
Source§impl Clone for SSTableEntry
impl Clone for SSTableEntry
Source§fn clone(&self) -> SSTableEntry
fn clone(&self) -> SSTableEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SSTableEntry
impl Debug for SSTableEntry
Source§impl<'de> Deserialize<'de> for SSTableEntry
impl<'de> Deserialize<'de> for SSTableEntry
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
Auto Trait Implementations§
impl Freeze for SSTableEntry
impl RefUnwindSafe for SSTableEntry
impl Send for SSTableEntry
impl Sync for SSTableEntry
impl Unpin for SSTableEntry
impl UnwindSafe for SSTableEntry
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