pub struct Page<E: Entity> {
pub rows: Vec<E>,
pub next_after: Option<E::Key>,
}Expand description
A bounded page of rows in live primary-key order.
Fields§
§rows: Vec<E>Typed records from this bounded primary-key traversal.
next_after: Option<E::Key>Last returned key, present when another key in this entity follows at read time.
Auto Trait Implementations§
impl<E> Forget for Page<E>
impl<E> Freeze for Page<E>
impl<E> Move for Page<E>
impl<E> RefUnwindSafe for Page<E>
impl<E> Send for Page<E>
impl<E> Sync for Page<E>
impl<E> Unpin for Page<E>
impl<E> UnsafeUnpin for Page<E>
impl<E> UnwindSafe for Page<E>
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