pub struct WorkflowOutput {
pub workflow_id: String,
pub success: bool,
pub steps: HashMap<String, StepOutput>,
pub total_duration_ms: u64,
}Expand description
Final workflow output
Fields§
§workflow_id: StringWorkflow ID
success: boolSuccess status
steps: HashMap<String, StepOutput>Step outputs
total_duration_ms: u64Total execution time
Implementations§
Source§impl WorkflowOutput
impl WorkflowOutput
Sourcepub fn from_context(ctx: StepContext, duration_ms: u64) -> Self
pub fn from_context(ctx: StepContext, duration_ms: u64) -> Self
Create from step context
Trait Implementations§
Source§impl Clone for WorkflowOutput
impl Clone for WorkflowOutput
Source§fn clone(&self) -> WorkflowOutput
fn clone(&self) -> WorkflowOutput
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 WorkflowOutput
impl Debug for WorkflowOutput
Source§impl<'de> Deserialize<'de> for WorkflowOutput
impl<'de> Deserialize<'de> for WorkflowOutput
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 WorkflowOutput
impl RefUnwindSafe for WorkflowOutput
impl Send for WorkflowOutput
impl Sync for WorkflowOutput
impl Unpin for WorkflowOutput
impl UnwindSafe for WorkflowOutput
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