pub struct SessionPage {
pub sessions: Vec<SessionRecord>,
pub next_key: Option<SessionPageKey>,
pub has_more: bool,
}Expand description
One stable page of durable sessions.
Fields§
§sessions: Vec<SessionRecord>Sessions in updated_at DESC, session_id DESC order.
next_key: Option<SessionPageKey>Last returned key, or the requested start key when the page is empty.
has_more: boolWhether another record exists after next_key.
Trait Implementations§
Source§impl Clone for SessionPage
impl Clone for SessionPage
Source§fn clone(&self) -> SessionPage
fn clone(&self) -> SessionPage
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 SessionPage
impl Debug for SessionPage
impl Eq for SessionPage
Source§impl PartialEq for SessionPage
impl PartialEq for SessionPage
impl StructuralPartialEq for SessionPage
Auto Trait Implementations§
impl Freeze for SessionPage
impl RefUnwindSafe for SessionPage
impl Send for SessionPage
impl Sync for SessionPage
impl Unpin for SessionPage
impl UnsafeUnpin for SessionPage
impl UnwindSafe for SessionPage
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