pub struct ScalarPage {
pub rows: Vec<(Vec<u8>, IndexValue)>,
pub facets: Vec<Vec<(Vec<u8>, u64)>>,
pub cursor: Option<Cursor>,
}Expand description
A clause-carrying query’s answer: the page, per requested FACET
field its (value, count) buckets, and — on the FILTER-with-cursor
path — the cursor to resume from.
Fields§
§rows: Vec<(Vec<u8>, IndexValue)>The selected rows, in the page’s order.
facets: Vec<Vec<(Vec<u8>, u64)>>One entry per requested facet field, most frequent first.
cursor: Option<Cursor>Resume cursor (None under any selection clause, which refuses
cursors at the wire and pages nothing here either).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScalarPage
impl RefUnwindSafe for ScalarPage
impl Send for ScalarPage
impl Sync for ScalarPage
impl Unpin for ScalarPage
impl UnsafeUnpin for ScalarPage
impl UnwindSafe for ScalarPage
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