pub struct SubWorkflowConfig {
pub workflow_path: String,
pub input_mappings: HashMap<String, String>,
pub output_variable: Option<String>,
pub inherit_context: bool,
}Expand description
Configuration for sub-workflow execution nodes
Fields§
§workflow_path: StringPath to JSON file containing the workflow to execute
input_mappings: HashMap<String, String>Input mappings: map parent context variables to sub-workflow variables Format: {“sub_var_name”: “{{parent_var_name}}”}
output_variable: Option<String>Output variable name to extract from sub-workflow results If not specified, all sub-workflow results are returned
inherit_context: boolWhether to inherit parent context variables (default: false)
Trait Implementations§
Source§impl Clone for SubWorkflowConfig
impl Clone for SubWorkflowConfig
Source§fn clone(&self) -> SubWorkflowConfig
fn clone(&self) -> SubWorkflowConfig
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 SubWorkflowConfig
impl Debug for SubWorkflowConfig
Source§impl<'de> Deserialize<'de> for SubWorkflowConfig
impl<'de> Deserialize<'de> for SubWorkflowConfig
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 SubWorkflowConfig
impl RefUnwindSafe for SubWorkflowConfig
impl Send for SubWorkflowConfig
impl Sync for SubWorkflowConfig
impl Unpin for SubWorkflowConfig
impl UnwindSafe for SubWorkflowConfig
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