pub struct SessionListPage {
pub sessions: Vec<SessionRowWithStatus>,
pub total: i64,
pub limit: u32,
pub offset: u32,
}Expand description
Paginated envelope returned by list_session_rows. Parity with
Python’s SessionListPage dataclass at metrics.py:351-362.
Fields§
§sessions: Vec<SessionRowWithStatus>§total: i64§limit: u32§offset: u32Implementations§
Trait Implementations§
Source§impl Clone for SessionListPage
impl Clone for SessionListPage
Source§fn clone(&self) -> SessionListPage
fn clone(&self) -> SessionListPage
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 moreAuto Trait Implementations§
impl Freeze for SessionListPage
impl RefUnwindSafe for SessionListPage
impl Send for SessionListPage
impl Sync for SessionListPage
impl Unpin for SessionListPage
impl UnsafeUnpin for SessionListPage
impl UnwindSafe for SessionListPage
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