pub struct AuditPage {
pub events: Vec<EventRecord>,
pub next: Option<EventId>,
}Expand description
One page of a print’s whole history, and the cursor that follows it.
The exhaustive read of a print’s history is StorePort::audit_page
walked to exhaustion; there is no method that answers a whole history in one
response, which is what makes an unbounded answer something a caller cannot
ask for by accident.
Fields§
§events: Vec<EventRecord>This page’s events.
next: Option<EventId>The cursor the next page follows, or absent at the end of the history.
Trait Implementations§
impl StructuralPartialEq for AuditPage
Auto Trait Implementations§
impl Freeze for AuditPage
impl RefUnwindSafe for AuditPage
impl Send for AuditPage
impl Sync for AuditPage
impl Unpin for AuditPage
impl UnsafeUnpin for AuditPage
impl UnwindSafe for AuditPage
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