pub struct IndexRow<K, S, V> {
pub primary: K,
pub secondary: S,
pub value: V,
}Expand description
IndexRow data container.
Fields§
§primary: Kprimary field for primary.
secondary: Ssecondary field for secondary.
value: Vvalue field for value.
Trait Implementations§
Source§impl<'de, K, S, V> Deserialize<'de> for IndexRow<K, S, V>
impl<'de, K, S, V> Deserialize<'de> for IndexRow<K, S, V>
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<K: Eq, S: Eq, V: Eq> Eq for IndexRow<K, S, V>
impl<K, S, V> StructuralPartialEq for IndexRow<K, S, V>
Auto Trait Implementations§
impl<K, S, V> Freeze for IndexRow<K, S, V>
impl<K, S, V> RefUnwindSafe for IndexRow<K, S, V>
impl<K, S, V> Send for IndexRow<K, S, V>
impl<K, S, V> Sync for IndexRow<K, S, V>
impl<K, S, V> Unpin for IndexRow<K, S, V>
impl<K, S, V> UnsafeUnpin for IndexRow<K, S, V>
impl<K, S, V> UnwindSafe for IndexRow<K, S, V>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.