pub struct PageRequest {
pub before: Option<u64>,
pub max_results: NonZeroUsize,
pub max_scanned: NonZeroUsize,
}Expand description
One newest-first scan using an exclusive sequence cursor.
Fields§
§before: Option<u64>Scan entries older than this sequence, or begin at the newest entry.
max_results: NonZeroUsizeMaximum matching rows to return.
max_scanned: NonZeroUsizeMaximum candidate rows to examine after binary-search positioning.
Trait Implementations§
Source§impl Clone for PageRequest
impl Clone for PageRequest
impl Copy for PageRequest
Auto Trait Implementations§
impl Freeze for PageRequest
impl RefUnwindSafe for PageRequest
impl Send for PageRequest
impl Sync for PageRequest
impl Unpin for PageRequest
impl UnsafeUnpin for PageRequest
impl UnwindSafe for PageRequest
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