pub struct WorkflowProcessDefinitionBuilder { /* private fields */ }Expand description
Builder for constructing a sub-workflow process definition.
Implementations§
Source§impl WorkflowProcessDefinitionBuilder
impl WorkflowProcessDefinitionBuilder
Sourcepub fn with_namespace(&mut self, namespace: &str) -> &mut Self
pub fn with_namespace(&mut self, namespace: &str) -> &mut Self
Sets the namespace of the target workflow.
Sourcepub fn with_version(&mut self, version: &str) -> &mut Self
pub fn with_version(&mut self, version: &str) -> &mut Self
Sets the version of the target workflow.
Sourcepub fn with_input(&mut self, input: Value) -> &mut Self
pub fn with_input(&mut self, input: Value) -> &mut Self
Sets the input data for the target workflow.
Sourcepub fn build(self) -> WorkflowProcessDefinition
pub fn build(self) -> WorkflowProcessDefinition
Builds the WorkflowProcessDefinition.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkflowProcessDefinitionBuilder
impl RefUnwindSafe for WorkflowProcessDefinitionBuilder
impl Send for WorkflowProcessDefinitionBuilder
impl Sync for WorkflowProcessDefinitionBuilder
impl Unpin for WorkflowProcessDefinitionBuilder
impl UnsafeUnpin for WorkflowProcessDefinitionBuilder
impl UnwindSafe for WorkflowProcessDefinitionBuilder
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