pub struct SessionWorkflowPauseResult {
pub attempt: Option<i64>,
pub error: Option<String>,
pub failure: Option<Value>,
pub pause_info: Option<Value>,
pub reason: Option<String>,
pub result: Option<Value>,
pub run_id: String,
pub snapshot: Option<Value>,
pub status: WorkflowRunStatus,
}Expand description
Complete current or terminal workflow run envelope.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§attempt: Option<i64>One-based execution attempt represented by this envelope. Absent before the first attempt starts or when returned by an older runtime.
error: Option<String>Error message for an errored run.
failure: Option<Value>Machine-readable failure details for a halted or errored run.
pause_info: Option<Value>Structured pause initiator metadata for a paused attempt.
reason: Option<String>Reason for a halted or cancelled run.
result: Option<Value>Completed workflow result.
run_id: StringWorkflow run identifier.
snapshot: Option<Value>Partial journal and progress snapshot for a halted, cancelled, or errored run.
status: WorkflowRunStatusCurrent or terminal workflow run status.
Trait Implementations§
Source§impl Clone for SessionWorkflowPauseResult
impl Clone for SessionWorkflowPauseResult
Source§impl Debug for SessionWorkflowPauseResult
impl Debug for SessionWorkflowPauseResult
Source§impl Default for SessionWorkflowPauseResult
impl Default for SessionWorkflowPauseResult
Source§impl<'de> Deserialize<'de> for SessionWorkflowPauseResult
impl<'de> Deserialize<'de> for SessionWorkflowPauseResult
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 SessionWorkflowPauseResult
impl RefUnwindSafe for SessionWorkflowPauseResult
impl Send for SessionWorkflowPauseResult
impl Sync for SessionWorkflowPauseResult
impl Unpin for SessionWorkflowPauseResult
impl UnsafeUnpin for SessionWorkflowPauseResult
impl UnwindSafe for SessionWorkflowPauseResult
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