pub struct DecodedDataBlock<R = MetadataRow> {
pub row_keys: Vec<String>,
pub rows: Vec<R>,
}Expand description
One decoded data block: row keys and rows, parallel and in key order.
The row type defaults to MetadataRow; index segments decode their
own row payload through decode_data_block_rows.
Fields§
§row_keys: Vec<String>Reconstructed row keys in the same ascending order as rows.
rows: Vec<R>Decoded row payloads positionally paired with row_keys.
Trait Implementations§
Source§impl<R: Clone> Clone for DecodedDataBlock<R>
impl<R: Clone> Clone for DecodedDataBlock<R>
Source§fn clone(&self) -> DecodedDataBlock<R>
fn clone(&self) -> DecodedDataBlock<R>
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 moreSource§impl<R: Debug> Debug for DecodedDataBlock<R>
impl<R: Debug> Debug for DecodedDataBlock<R>
impl<R: Eq> Eq for DecodedDataBlock<R>
Source§impl<R: PartialEq> PartialEq for DecodedDataBlock<R>
impl<R: PartialEq> PartialEq for DecodedDataBlock<R>
impl<R: PartialEq> StructuralPartialEq for DecodedDataBlock<R>
Auto Trait Implementations§
impl<R> Freeze for DecodedDataBlock<R>
impl<R> RefUnwindSafe for DecodedDataBlock<R>where
R: RefUnwindSafe,
impl<R> Send for DecodedDataBlock<R>where
R: Send,
impl<R> Sync for DecodedDataBlock<R>where
R: Sync,
impl<R> Unpin for DecodedDataBlock<R>where
R: Unpin,
impl<R> UnsafeUnpin for DecodedDataBlock<R>
impl<R> UnwindSafe for DecodedDataBlock<R>where
R: 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