pub struct WriteHeader {
pub position: WriteId,
pub timestamp: Timestamp,
pub read_through: u64,
pub schema_version: u32,
pub disposition: WriteDisposition,
}Expand description
Identity, timestamp, read-through slot and schema of a transaction.
Fields§
§position: WriteIdWhich device wrote it and its original local write number.
timestamp: TimestampThe author’s timestamp, whose device matches the write identity.
read_through: u64Last applied slot when authored; own earlier writes are implicit reads.
schema_version: u32The app schema version (§18).
disposition: WriteDispositionAn ordinary write or a breaking migration marker; exclusion is decided on receipt.
Trait Implementations§
Source§impl Clone for WriteHeader
impl Clone for WriteHeader
Source§fn clone(&self) -> WriteHeader
fn clone(&self) -> WriteHeader
Returns a duplicate of the value. Read more
1.0.0 · 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 WriteHeader
impl Debug for WriteHeader
Source§impl PartialEq for WriteHeader
impl PartialEq for WriteHeader
impl Eq for WriteHeader
impl StructuralPartialEq for WriteHeader
Auto Trait Implementations§
impl Freeze for WriteHeader
impl RefUnwindSafe for WriteHeader
impl Send for WriteHeader
impl Sync for WriteHeader
impl Unpin for WriteHeader
impl UnsafeUnpin for WriteHeader
impl UnwindSafe for WriteHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more