pub struct CheckpointId {
pub stream_id: String,
pub sequence: u64,
pub created_at: SystemTime,
}Expand description
Unique identifier for a checkpoint within a named stream.
Fields§
§stream_id: StringLogical stream name.
sequence: u64Sequence number of the last event included in this checkpoint.
created_at: SystemTimeWall-clock time at which the checkpoint was created.
Implementations§
Trait Implementations§
Source§impl Clone for CheckpointId
impl Clone for CheckpointId
Source§fn clone(&self) -> CheckpointId
fn clone(&self) -> CheckpointId
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 CheckpointId
impl Debug for CheckpointId
Source§impl Hash for CheckpointId
impl Hash for CheckpointId
Source§impl Ord for CheckpointId
impl Ord for CheckpointId
Source§fn cmp(&self, other: &CheckpointId) -> Ordering
fn cmp(&self, other: &CheckpointId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CheckpointId
impl PartialEq for CheckpointId
Source§impl PartialOrd for CheckpointId
impl PartialOrd for CheckpointId
impl Eq for CheckpointId
impl StructuralPartialEq for CheckpointId
Auto Trait Implementations§
impl Freeze for CheckpointId
impl RefUnwindSafe for CheckpointId
impl Send for CheckpointId
impl Sync for CheckpointId
impl Unpin for CheckpointId
impl UnsafeUnpin for CheckpointId
impl UnwindSafe for CheckpointId
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