pub struct SessionPageQuery { /* private fields */ }Expand description
Bounded keyset query over sessions ordered by update time and stable identity descending.
Implementations§
Source§impl SessionPageQuery
impl SessionPageQuery
Sourcepub fn new(
after: Option<SessionPageKey>,
limit: usize,
) -> SessionStoreResult<Self>
pub fn new( after: Option<SessionPageKey>, limit: usize, ) -> SessionStoreResult<Self>
Build a validated session-page query.
§Errors
Returns an error unless limit is between 1 and MAX_STABLE_PAGE_SIZE.
Sourcepub const fn after(&self) -> Option<&SessionPageKey>
pub const fn after(&self) -> Option<&SessionPageKey>
Return the exclusive page boundary.
Trait Implementations§
Source§impl Clone for SessionPageQuery
impl Clone for SessionPageQuery
Source§fn clone(&self) -> SessionPageQuery
fn clone(&self) -> SessionPageQuery
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 Debug for SessionPageQuery
impl Debug for SessionPageQuery
impl Eq for SessionPageQuery
Source§impl PartialEq for SessionPageQuery
impl PartialEq for SessionPageQuery
impl StructuralPartialEq for SessionPageQuery
Auto Trait Implementations§
impl Freeze for SessionPageQuery
impl RefUnwindSafe for SessionPageQuery
impl Send for SessionPageQuery
impl Sync for SessionPageQuery
impl Unpin for SessionPageQuery
impl UnsafeUnpin for SessionPageQuery
impl UnwindSafe for SessionPageQuery
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