pub struct WorkflowRun {
pub workflow_id: String,
pub state: WorkflowState,
pub steps: Vec<WorkflowStepRecord>,
pub final_output: Option<JsonValue>,
pub parent_workflow_id: Option<String>,
}Expand description
A workflow execution run with complete history
Fields§
§workflow_id: String§state: WorkflowState§steps: Vec<WorkflowStepRecord>§final_output: Option<JsonValue>§parent_workflow_id: Option<String>Parent workflow ID if this is a sub-workflow
Implementations§
Source§impl WorkflowRun
impl WorkflowRun
Sourcepub fn to_mermaid_with_results(&self) -> String
pub fn to_mermaid_with_results(&self) -> String
Generate a Mermaid flowchart with execution results
Trait Implementations§
Source§impl Clone for WorkflowRun
impl Clone for WorkflowRun
Source§fn clone(&self) -> WorkflowRun
fn clone(&self) -> WorkflowRun
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 WorkflowRun
impl Debug for WorkflowRun
Source§impl<'de> Deserialize<'de> for WorkflowRun
impl<'de> Deserialize<'de> for WorkflowRun
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 WorkflowRun
impl RefUnwindSafe for WorkflowRun
impl Send for WorkflowRun
impl Sync for WorkflowRun
impl Unpin for WorkflowRun
impl UnwindSafe for WorkflowRun
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