pub struct CompiledWorkflow {
pub definition: WorkflowRunDefinition,
pub steps: HashMap<String, WorkflowStepDefinition>,
}Fields§
§definition: WorkflowRunDefinition§steps: HashMap<String, WorkflowStepDefinition>Implementations§
Source§impl CompiledWorkflow
impl CompiledWorkflow
pub fn compile( definition: WorkflowRunDefinition, ) -> Result<CompiledWorkflow, WorkflowCompileError>
pub fn validate_input(&self, value: &Value) -> Result<(), String>
Trait Implementations§
Source§impl Clone for CompiledWorkflow
impl Clone for CompiledWorkflow
Source§fn clone(&self) -> CompiledWorkflow
fn clone(&self) -> CompiledWorkflow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CompiledWorkflow
impl RefUnwindSafe for CompiledWorkflow
impl Send for CompiledWorkflow
impl Sync for CompiledWorkflow
impl Unpin for CompiledWorkflow
impl UnsafeUnpin for CompiledWorkflow
impl UnwindSafe for CompiledWorkflow
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