Enum mcai_models::Workflow
source · [−]pub enum Workflow {
Definition(WorkflowDefinition),
Instance(WorkflowInstance),
}
Variants
Definition(WorkflowDefinition)
Instance(WorkflowInstance)
Implementations
sourceimpl Workflow
impl Workflow
pub fn is_definition(&self) -> bool
pub fn schema_version(&self) -> SchemaVersion
pub fn identifier(&self) -> &str
pub fn label(&self) -> &str
pub fn version(&self) -> Version
pub fn is_live(&self) -> bool
pub fn reference(&self) -> Option<String>
pub fn jobs(&self) -> Option<&Vec<Job>>
pub fn steps(&self) -> &Vec<Step>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn get_start_parameters(&self) -> &Vec<StartParameter>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn get_notification_hooks(&self) -> Option<&Vec<NotificationHook>>
pub fn update_steps_coordinates_from_graph(&mut self, graph: &Graph)
Trait Implementations
impl StructuralPartialEq for Workflow
Auto Trait Implementations
impl RefUnwindSafe for Workflow
impl Send for Workflow
impl Sync for Workflow
impl Unpin for Workflow
impl UnwindSafe for Workflow
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more