pub struct SourceHead {
pub run_rows: Option<u64>,
pub rows_cum: Option<u64>,
pub committed_at: Option<i64>,
}Expand description
Persisted source accounting at the applied cursor. Portable bases carry this so lag/change-count stamps resume from restored history instead of zero.
Fields§
§run_rows: Option<u64>§rows_cum: Option<u64>§committed_at: Option<i64>Trait Implementations§
Source§impl Clone for SourceHead
impl Clone for SourceHead
Source§fn clone(&self) -> SourceHead
fn clone(&self) -> SourceHead
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 SourceHead
impl Debug for SourceHead
Source§impl Default for SourceHead
impl Default for SourceHead
Source§fn default() -> SourceHead
fn default() -> SourceHead
Returns the “default value” for a type. Read more
Source§impl PartialEq for SourceHead
impl PartialEq for SourceHead
impl Copy for SourceHead
impl Eq for SourceHead
impl StructuralPartialEq for SourceHead
Auto Trait Implementations§
impl Freeze for SourceHead
impl RefUnwindSafe for SourceHead
impl Send for SourceHead
impl Sync for SourceHead
impl Unpin for SourceHead
impl UnsafeUnpin for SourceHead
impl UnwindSafe for SourceHead
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
§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
§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
Compare self to
key and return true if they are equal.