pub struct CheckpointRef {
pub checkpoint_id: CheckpointId,
pub run_id: RunId,
pub sequence: usize,
pub node: String,
pub storage_ref: Option<String>,
pub stream_cursor: Option<usize>,
pub created_at: DateTime<Utc>,
pub metadata: Metadata,
}Expand description
Stable reference to a persisted checkpoint.
Fields§
§checkpoint_id: CheckpointIdCheckpoint id.
run_id: RunIdRun id.
sequence: usizeCheckpoint sequence within the run.
node: StringRuntime node name.
storage_ref: Option<String>Optional storage URI.
stream_cursor: Option<usize>Stream cursor captured with this checkpoint.
created_at: DateTime<Utc>Creation time.
metadata: MetadataCheckpoint metadata.
Trait Implementations§
Source§impl Clone for CheckpointRef
impl Clone for CheckpointRef
Source§fn clone(&self) -> CheckpointRef
fn clone(&self) -> CheckpointRef
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 CheckpointRef
impl Debug for CheckpointRef
Source§impl<'de> Deserialize<'de> for CheckpointRef
impl<'de> Deserialize<'de> for CheckpointRef
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
impl Eq for CheckpointRef
Source§impl PartialEq for CheckpointRef
impl PartialEq for CheckpointRef
Source§impl Serialize for CheckpointRef
impl Serialize for CheckpointRef
impl StructuralPartialEq for CheckpointRef
Auto Trait Implementations§
impl Freeze for CheckpointRef
impl RefUnwindSafe for CheckpointRef
impl Send for CheckpointRef
impl Sync for CheckpointRef
impl Unpin for CheckpointRef
impl UnsafeUnpin for CheckpointRef
impl UnwindSafe for CheckpointRef
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