pub struct HistoryPage {
pub revision: u64,
pub lineage_id: Option<LineageId>,
pub entries: Vec<HistoryEntry>,
pub next_after_sequence: u64,
}Expand description
A bounded operation page read with a consistent authoritative revision.
Fields§
§revision: u64Revision visible in the same SQLite transaction.
lineage_id: Option<LineageId>Lineage the store continues, within which the revision is meaningful; absent only for a page an adapter builds without a store.
entries: Vec<HistoryEntry>Operations in ascending append order.
next_after_sequence: u64Last returned sequence, suitable for the next request; unchanged for an empty page.
Trait Implementations§
Source§impl Clone for HistoryPage
impl Clone for HistoryPage
Source§impl Debug for HistoryPage
impl Debug for HistoryPage
Source§impl<'de> Deserialize<'de> for HistoryPage
impl<'de> Deserialize<'de> for HistoryPage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HistoryPage
impl RefUnwindSafe for HistoryPage
impl Send for HistoryPage
impl Sync for HistoryPage
impl Unpin for HistoryPage
impl UnsafeUnpin for HistoryPage
impl UnwindSafe for HistoryPage
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