pub struct CheckpointMeta {
    pub source_offset: String,
    pub current_watermark: DateTime<Utc>,
    pub snapshot_id: SnapshotId,
}Expand description
Minimal checkpoint metadata for resuming processing after restart. Includes a source offset (opaque), current watermark, and the state snapshot id.
Fields§
§source_offset: StringOpaque source offset (e.g., file byte offset, Kafka partition@offset, etc.)
current_watermark: DateTime<Utc>Last committed watermark at the time of checkpoint.
snapshot_id: SnapshotIdSnapshot identifier returned by the KeyValueState backend.
Trait Implementations§
Source§impl Clone for CheckpointMeta
 
impl Clone for CheckpointMeta
Source§fn clone(&self) -> CheckpointMeta
 
fn clone(&self) -> CheckpointMeta
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 CheckpointMeta
 
impl Debug for CheckpointMeta
Source§impl<'de> Deserialize<'de> for CheckpointMeta
 
impl<'de> Deserialize<'de> for CheckpointMeta
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
Source§impl PartialEq for CheckpointMeta
 
impl PartialEq for CheckpointMeta
Source§impl Serialize for CheckpointMeta
 
impl Serialize for CheckpointMeta
impl Eq for CheckpointMeta
impl StructuralPartialEq for CheckpointMeta
Auto Trait Implementations§
impl Freeze for CheckpointMeta
impl RefUnwindSafe for CheckpointMeta
impl Send for CheckpointMeta
impl Sync for CheckpointMeta
impl Unpin for CheckpointMeta
impl UnwindSafe for CheckpointMeta
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