pub struct PreviewBpmnInstance {
pub bpmn_xml: String,
pub path: Option<Option<String>>,
pub flow_input: Option<HashMap<String, Value>>,
}Expand description
PreviewBpmnInstance : An inline, possibly-undeployed BPMN diagram plus initial process variables (#710 stage 3) – the request body for POST /bpmn/run/preview.
Fields§
§bpmn_xml: Stringthe BPMN 2.0 XML as currently open in the editor
path: Option<Option<String>>Optional: only for scope-checking and job attribution (audit log, job list). Never resolved to a deployed bpmn_flow row.
flow_input: Option<HashMap<String, Value>>Start variables for this run, addressed by the process as flow_input.<name>.
Implementations§
Source§impl PreviewBpmnInstance
impl PreviewBpmnInstance
Sourcepub fn new(bpmn_xml: String) -> PreviewBpmnInstance
pub fn new(bpmn_xml: String) -> PreviewBpmnInstance
An inline, possibly-undeployed BPMN diagram plus initial process variables (#710 stage 3) – the request body for POST /bpmn/run/preview.
Trait Implementations§
Source§impl Clone for PreviewBpmnInstance
impl Clone for PreviewBpmnInstance
Source§fn clone(&self) -> PreviewBpmnInstance
fn clone(&self) -> PreviewBpmnInstance
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 moreSource§impl Debug for PreviewBpmnInstance
impl Debug for PreviewBpmnInstance
Source§impl Default for PreviewBpmnInstance
impl Default for PreviewBpmnInstance
Source§fn default() -> PreviewBpmnInstance
fn default() -> PreviewBpmnInstance
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreviewBpmnInstance
impl<'de> Deserialize<'de> for PreviewBpmnInstance
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PreviewBpmnInstance
impl PartialEq for PreviewBpmnInstance
Source§impl Serialize for PreviewBpmnInstance
impl Serialize for PreviewBpmnInstance
impl StructuralPartialEq for PreviewBpmnInstance
Auto Trait Implementations§
impl Freeze for PreviewBpmnInstance
impl RefUnwindSafe for PreviewBpmnInstance
impl Send for PreviewBpmnInstance
impl Sync for PreviewBpmnInstance
impl Unpin for PreviewBpmnInstance
impl UnsafeUnpin for PreviewBpmnInstance
impl UnwindSafe for PreviewBpmnInstance
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