pub struct Row<'a> {
pub(crate) data: &'a [u8],
pub(crate) config: &'a RowConfig,
}
Expand description
A comparable representation of a row.
See the module level documentation for more details.
Two Row
can only be compared if they both belong to Rows
returned by calls to RowConverter::convert_columns
on the same
RowConverter
. If different RowConverter
s are used, any
ordering established by comparing the Row
is arbitrary.
Fields§
§data: &'a [u8]
§config: &'a RowConfig
Implementations§
Trait Implementations§
Source§impl Ord for Row<'_>
impl Ord for Row<'_>
Source§impl PartialOrd for Row<'_>
impl PartialOrd for Row<'_>
impl<'a> Copy for Row<'a>
impl Eq for Row<'_>
Auto Trait Implementations§
impl<'a> Freeze for Row<'a>
impl<'a> RefUnwindSafe for Row<'a>
impl<'a> Send for Row<'a>
impl<'a> Sync for Row<'a>
impl<'a> Unpin for Row<'a>
impl<'a> UnwindSafe for Row<'a>
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