pub struct IdxPage {
pub cursor: Option<Vec<u8>>,
pub rows: Vec<IdxRow>,
}Expand description
One page of IDX.QUERY RANGE/EQ results.
Fields§
§cursor: Option<Vec<u8>>Cursor for the next page — None when the scan is complete;
otherwise pass it back via idx_query_range’s cursor.
rows: Vec<IdxRow>The page’s hits in (value, key) order.
Trait Implementations§
impl Eq for IdxPage
impl StructuralPartialEq for IdxPage
Auto Trait Implementations§
impl Freeze for IdxPage
impl RefUnwindSafe for IdxPage
impl Send for IdxPage
impl Sync for IdxPage
impl Unpin for IdxPage
impl UnsafeUnpin for IdxPage
impl UnwindSafe for IdxPage
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