pub struct Page<T> {
pub rows: Vec<T>,
pub next: Option<String>,
}Expand description
A page of a query’s rows, and the cursor that reads the next; none after the last.
Fields§
§rows: Vec<T>§next: Option<String>Trait Implementations§
impl<T: PartialEq> StructuralPartialEq for Page<T>
Auto Trait Implementations§
impl<T> Forget for Page<T>
impl<T> Freeze for Page<T>
impl<T> Move for Page<T>
impl<T> RefUnwindSafe for Page<T>where
Vec<T>: RefUnwindSafe,
impl<T> Send for Page<T>
impl<T> Sync for Page<T>
impl<T> Unpin for Page<T>
impl<T> UnsafeUnpin for Page<T>where
Vec<T>: UnsafeUnpin,
impl<T> UnwindSafe for Page<T>where
Vec<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