pub struct Page {
pub samples: Vec<DurabilitySample>,
pub next: Option<Cursor>,
}Expand description
One page of a paginated crate::DurabilityStore::query result. Samples
are ordered by (instance_key, sequence). next is Some when more
samples may follow — feed it back via Selector::after_cursor.
Fields§
§samples: Vec<DurabilitySample>The samples in this page, ordered by (instance_key, sequence).
next: Option<Cursor>Cursor to continue after, or None when the result is exhausted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Page
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnsafeUnpin for Page
impl UnwindSafe for Page
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