pub struct Item {
pub partition: StrView,
pub key: UserKey,
pub value: UserValue,
pub value_type: ValueType,
}Expand description
Item
Fields§
§partition: StrViewPartition key - an arbitrary byte array
Supports up to 2^8 bytes
key: UserKeyUser-defined key - an arbitrary byte array
Supports up to 2^16 bytes
value: UserValueUser-defined value - an arbitrary byte array
Supports up to 65535 bytes
value_type: ValueTypeTombstone marker - if this is true, the value has been deleted
Implementations§
Trait Implementations§
impl Eq for Item
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
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.