Struct querent_synapse::querent::workflow::workflow_builder::WorkflowBuilder
source · pub struct WorkflowBuilder { /* private fields */ }
Expand description
Builder for constructing a Workflow
.
Implementations§
source§impl WorkflowBuilder
impl WorkflowBuilder
sourcepub fn from_workflow(workflow: Workflow) -> Self
pub fn from_workflow(workflow: Workflow) -> Self
Workflow from given workflow.
sourcepub fn import(self, import: Option<String>) -> Self
pub fn import(self, import: Option<String>) -> Self
Sets the import statement for the workflow.
Auto Trait Implementations§
impl Freeze for WorkflowBuilder
impl !RefUnwindSafe for WorkflowBuilder
impl Send for WorkflowBuilder
impl Sync for WorkflowBuilder
impl Unpin for WorkflowBuilder
impl !UnwindSafe for WorkflowBuilder
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