pub struct ExportPage {
pub facts: Vec<ExportedFact>,
pub next_cursor: Option<u32>,
}Expand description
One bounded page of currently-open facts.
next_cursor is the next fact id to inspect, not an offset into facts:
closed, tombstoned, and purged ids are skipped without making the caller
rescan them. None means the scan reached the database’s current end.
Fields§
§facts: Vec<ExportedFact>The open facts found in this page, in fact-id order.
next_cursor: Option<u32>Pass this to the next Database::export_page call.
Trait Implementations§
Source§impl Clone for ExportPage
impl Clone for ExportPage
Source§fn clone(&self) -> ExportPage
fn clone(&self) -> ExportPage
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 moreSource§impl Debug for ExportPage
impl Debug for ExportPage
Source§impl PartialEq for ExportPage
impl PartialEq for ExportPage
impl StructuralPartialEq for ExportPage
Auto Trait Implementations§
impl Freeze for ExportPage
impl RefUnwindSafe for ExportPage
impl Send for ExportPage
impl Sync for ExportPage
impl Unpin for ExportPage
impl UnsafeUnpin for ExportPage
impl UnwindSafe for ExportPage
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