pub enum ProcessElement {
StartEvent(StartEvent),
EndEvent(EndEvent),
IntermediateCatchEvent(IntermediateCatchEvent),
IntermediateThrowEvent(IntermediateThrowEvent),
ServiceTask(ServiceTask),
UserTask(UserTask),
ScriptTask(ScriptTask),
ManualTask(ManualTask),
ExclusiveGateway(ExclusiveGateway),
ParallelGateway(ParallelGateway),
InclusiveGateway(InclusiveGateway),
}Expand description
Process Element
Represents any executable BPMN element (task, gateway, event).
Variants§
StartEvent(StartEvent)
Start Event
EndEvent(EndEvent)
End Event
IntermediateCatchEvent(IntermediateCatchEvent)
Intermediate Catch Event
IntermediateThrowEvent(IntermediateThrowEvent)
Intermediate Throw Event
ServiceTask(ServiceTask)
Service Task
UserTask(UserTask)
User Task
ScriptTask(ScriptTask)
Script Task
ManualTask(ManualTask)
Manual Task
ExclusiveGateway(ExclusiveGateway)
Exclusive Gateway
ParallelGateway(ParallelGateway)
Parallel Gateway
InclusiveGateway(InclusiveGateway)
Inclusive Gateway
Implementations§
Source§impl ProcessElement
impl ProcessElement
pub fn from_json_element(element: BpmnJsonElement) -> Result<Self, Error>
pub fn id(&self) -> &str
pub fn to_json_element(&self) -> BpmnJsonElement
Trait Implementations§
Source§impl Clone for ProcessElement
impl Clone for ProcessElement
Source§fn clone(&self) -> ProcessElement
fn clone(&self) -> ProcessElement
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 ProcessElement
impl RefUnwindSafe for ProcessElement
impl Send for ProcessElement
impl Sync for ProcessElement
impl Unpin for ProcessElement
impl UnsafeUnpin for ProcessElement
impl UnwindSafe for ProcessElement
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