pub struct StoreRevision {
pub revision: u64,
pub lineage: StoreLineage,
pub history_head: u64,
}Expand description
The authoritative revision of a store and the lineage it belongs to, read without decoding the plan, so clients can poll it for changes.
Fields§
§revision: u64Revision of the committed snapshot.
lineage: StoreLineageLineage within which the revision is meaningful.
history_head: u64Local sequence of the newest committed operation, zero for a store with none. It is read in
the same transaction as revision, so it is the exact cursor from which a subscriber to
the operation history sees every change after that snapshot and no earlier one.
Trait Implementations§
Source§impl Clone for StoreRevision
impl Clone for StoreRevision
impl Copy for StoreRevision
Source§impl Debug for StoreRevision
impl Debug for StoreRevision
Source§impl<'de> Deserialize<'de> for StoreRevision
impl<'de> Deserialize<'de> for StoreRevision
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
impl Eq for StoreRevision
Source§impl PartialEq for StoreRevision
impl PartialEq for StoreRevision
Source§impl Serialize for StoreRevision
impl Serialize for StoreRevision
impl StructuralPartialEq for StoreRevision
Auto Trait Implementations§
impl Freeze for StoreRevision
impl RefUnwindSafe for StoreRevision
impl Send for StoreRevision
impl Sync for StoreRevision
impl Unpin for StoreRevision
impl UnsafeUnpin for StoreRevision
impl UnwindSafe for StoreRevision
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