pub struct PageResult<T> {
    pub items: Vec<T>,
    pub total: usize,
    pub next_cursor: Option<String>,
}Expand description
Result of a paginated query
Fields§
§items: Vec<T>The items returned in this page
total: usizeThe total number of items available
next_cursor: Option<String>Cursor for retrieving the next page, if available
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for PageResult<T>
 
impl<T: Clone> Clone for PageResult<T>
Source§fn clone(&self) -> PageResult<T>
 
fn clone(&self) -> PageResult<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
 
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreAuto Trait Implementations§
impl<T> Freeze for PageResult<T>
impl<T> RefUnwindSafe for PageResult<T>where
    T: RefUnwindSafe,
impl<T> Send for PageResult<T>where
    T: Send,
impl<T> Sync for PageResult<T>where
    T: Sync,
impl<T> Unpin for PageResult<T>where
    T: Unpin,
impl<T> UnwindSafe for PageResult<T>where
    T: UnwindSafe,
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