pub struct SourceCheckpoint {
pub sequence: u64,
pub source_position: Option<Bytes>,
}Expand description
Per-source checkpoint data.
Contains the monotonic sequence number and an optional opaque position that the source interprets to seek back into its native change stream (e.g., Postgres LSN, Kafka offset, EventHub sequence number).
Fields§
§sequence: u64§source_position: Option<Bytes>Opaque position bytes for native stream resumption. Sources interpret these to seek back into their change stream.
Implementations§
Trait Implementations§
Source§impl Clone for SourceCheckpoint
impl Clone for SourceCheckpoint
Source§fn clone(&self) -> SourceCheckpoint
fn clone(&self) -> SourceCheckpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SourceCheckpoint
impl Debug for SourceCheckpoint
Source§impl PartialEq for SourceCheckpoint
impl PartialEq for SourceCheckpoint
Source§fn eq(&self, other: &SourceCheckpoint) -> bool
fn eq(&self, other: &SourceCheckpoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SourceCheckpoint
impl StructuralPartialEq for SourceCheckpoint
Auto Trait Implementations§
impl !Freeze for SourceCheckpoint
impl RefUnwindSafe for SourceCheckpoint
impl Send for SourceCheckpoint
impl Sync for SourceCheckpoint
impl Unpin for SourceCheckpoint
impl UnsafeUnpin for SourceCheckpoint
impl UnwindSafe for SourceCheckpoint
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.