pub struct FieldValue<F = Vec<u8>, V = Vec<u8>> {
pub field: F,
pub value: V,
}Expand description
Field-value pair structure (aligned with Kvrocks FieldValue). 字段与值结构对(对标 Apache Kvrocks FieldValue)
Fields§
§field: F§value: VImplementations§
Source§impl<F, V> FieldValue<F, V>
impl<F, V> FieldValue<F, V>
Trait Implementations§
Source§impl<F: Clone, V: Clone> Clone for FieldValue<F, V>
impl<F: Clone, V: Clone> Clone for FieldValue<F, V>
Source§fn clone(&self) -> FieldValue<F, V>
fn clone(&self) -> FieldValue<F, V>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<F: Eq, V: Eq> Eq for FieldValue<F, V>
impl<F: PartialEq, V: PartialEq> StructuralPartialEq for FieldValue<F, V>
Auto Trait Implementations§
impl<F, V> Freeze for FieldValue<F, V>
impl<F, V> RefUnwindSafe for FieldValue<F, V>where
F: RefUnwindSafe,
V: RefUnwindSafe,
impl<F, V> Send for FieldValue<F, V>
impl<F, V> Sync for FieldValue<F, V>
impl<F, V> Unpin for FieldValue<F, V>
impl<F, V> UnsafeUnpin for FieldValue<F, V>where
F: UnsafeUnpin,
V: UnsafeUnpin,
impl<F, V> UnwindSafe for FieldValue<F, V>where
F: UnwindSafe,
V: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.