pub struct RecoveryInfo {
pub execution_id: String,
pub checkpoint_sequence: u64,
pub checkpoint_created_at: DateTime<Utc>,
pub workflow_status: WorkflowStatus,
pub completed_tasks: Vec<String>,
pub pending_tasks: Vec<String>,
pub interrupted_tasks: Vec<String>,
pub failed_tasks: Vec<String>,
pub skipped_tasks: Vec<String>,
pub can_resume: bool,
}Expand description
Information about workflow recovery state.
Fields§
§execution_id: StringExecution ID.
checkpoint_sequence: u64Latest checkpoint sequence number.
checkpoint_created_at: DateTime<Utc>When the checkpoint was created.
workflow_status: WorkflowStatusCurrent workflow status.
completed_tasks: Vec<String>Tasks that completed successfully.
pending_tasks: Vec<String>Tasks that are pending execution.
interrupted_tasks: Vec<String>Tasks that were interrupted (running when checkpoint saved).
failed_tasks: Vec<String>Tasks that failed.
skipped_tasks: Vec<String>Tasks that were skipped.
can_resume: boolWhether the workflow can be resumed.
Trait Implementations§
Source§impl Clone for RecoveryInfo
impl Clone for RecoveryInfo
Source§fn clone(&self) -> RecoveryInfo
fn clone(&self) -> RecoveryInfo
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 moreAuto Trait Implementations§
impl Freeze for RecoveryInfo
impl RefUnwindSafe for RecoveryInfo
impl Send for RecoveryInfo
impl Sync for RecoveryInfo
impl Unpin for RecoveryInfo
impl UnsafeUnpin for RecoveryInfo
impl UnwindSafe for RecoveryInfo
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