pub struct CheckpointMetadata {
pub thread_id: String,
pub checkpoint_id: String,
pub run_id: Option<String>,
pub parent_checkpoint_id: Option<String>,
pub namespace: Vec<String>,
pub next_nodes: Vec<NodeId>,
pub has_interrupts: bool,
pub source: CheckpointSource,
pub step: usize,
}Expand description
Lightweight checkpoint summary returned by Checkpointer::list.
Listing must not require deserializing full graph state, so metadata is kept
separate from the Checkpoint state payload.
Fields§
§thread_id: StringThread lineage key.
checkpoint_id: StringCheckpoint id.
run_id: Option<String>The run that produced this checkpoint, when known.
parent_checkpoint_id: Option<String>Parent checkpoint id.
namespace: Vec<String>Namespace scoping.
next_nodes: Vec<NodeId>Nodes to run on resume.
has_interrupts: boolWhether the checkpoint carries pending interrupts.
source: CheckpointSourceCheckpoint source: input, loop, update, or fork.
step: usizeThe superstep number that produced the checkpoint.
Trait Implementations§
Source§impl Clone for CheckpointMetadata
impl Clone for CheckpointMetadata
Source§fn clone(&self) -> CheckpointMetadata
fn clone(&self) -> CheckpointMetadata
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 CheckpointMetadata
impl Debug for CheckpointMetadata
Source§impl<'de> Deserialize<'de> for CheckpointMetadata
impl<'de> Deserialize<'de> for CheckpointMetadata
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
Auto Trait Implementations§
impl Freeze for CheckpointMetadata
impl RefUnwindSafe for CheckpointMetadata
impl Send for CheckpointMetadata
impl Sync for CheckpointMetadata
impl Unpin for CheckpointMetadata
impl UnsafeUnpin for CheckpointMetadata
impl UnwindSafe for CheckpointMetadata
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