pub struct ExecutionCheckpoint {
pub timestamp: DateTime<Utc>,
pub completed_nodes: Vec<NodeId>,
pub variables: HashMap<String, Value>,
pub state: ExecutionState,
}Expand description
Checkpoint for resumable execution
Fields§
§timestamp: DateTime<Utc>When this checkpoint was created
completed_nodes: Vec<NodeId>Nodes that have been completed
variables: HashMap<String, Value>Variables at checkpoint time
state: ExecutionStateExecution state at checkpoint
Trait Implementations§
Source§impl Clone for ExecutionCheckpoint
impl Clone for ExecutionCheckpoint
Source§fn clone(&self) -> ExecutionCheckpoint
fn clone(&self) -> ExecutionCheckpoint
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 ExecutionCheckpoint
impl Debug for ExecutionCheckpoint
Source§impl<'de> Deserialize<'de> for ExecutionCheckpoint
impl<'de> Deserialize<'de> for ExecutionCheckpoint
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 ExecutionCheckpoint
impl RefUnwindSafe for ExecutionCheckpoint
impl Send for ExecutionCheckpoint
impl Sync for ExecutionCheckpoint
impl Unpin for ExecutionCheckpoint
impl UnwindSafe for ExecutionCheckpoint
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