pub struct Probe {
pub query: Query,
pub size: usize,
}Available on crate feature
domain only.Expand description
A page_query that reads one row past the page.
Returned by probe_query, and paired with listing_from, which drops
the extra row and reports it as Listing::has_more.
Fields§
§query: QueryThe query to run: the client’s page, plus one row.
size: usizeThe page size the client actually asked for.
Auto Trait Implementations§
impl !Freeze for Probe
impl RefUnwindSafe for Probe
impl Send for Probe
impl Sync for Probe
impl Unpin for Probe
impl UnsafeUnpin for Probe
impl UnwindSafe for Probe
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