pub struct WorkflowAgentStepResumedEvent {
pub step_name: String,
pub step_index: u32,
pub session_id: String,
pub timestamp: DateTime<Utc>,
}Expand description
Payload of the WorkflowEvent::AgentStepResumed workflow event.
Published when an agent step interrupted by a lost lease is re-executed on the Claude Code session of the interrupted attempt instead of starting from scratch.
§Examples
use ironflow_engine::notify::WorkflowAgentStepResumedEvent;
use chrono::Utc;
let payload = WorkflowAgentStepResumedEvent {
step_name: "review".to_string(),
step_index: 2,
session_id: "0192f0c1-7d2e-7a4b-9c3d-1e2f3a4b5c6d".to_string(),
timestamp: Utc::now(),
};
assert_eq!(payload.step_index, 2);Fields§
§step_name: StringHuman-readable step name.
step_index: u32Zero-based position in the workflow.
session_id: StringClaude Code session the step resumes.
timestamp: DateTime<Utc>When the step resumed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WorkflowAgentStepResumedEvent
impl<'de> Deserialize<'de> for WorkflowAgentStepResumedEvent
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 WorkflowAgentStepResumedEvent
impl RefUnwindSafe for WorkflowAgentStepResumedEvent
impl Send for WorkflowAgentStepResumedEvent
impl Sync for WorkflowAgentStepResumedEvent
impl Unpin for WorkflowAgentStepResumedEvent
impl UnsafeUnpin for WorkflowAgentStepResumedEvent
impl UnwindSafe for WorkflowAgentStepResumedEvent
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