pub struct CreateProcessInstanceWithResultResponse(/* private fields */);
Expand description
Created process instance with result data.
Implementations§
Source§impl CreateProcessInstanceWithResultResponse
impl CreateProcessInstanceWithResultResponse
Sourcepub fn process_definition_key(&self) -> i64
pub fn process_definition_key(&self) -> i64
the key of the process definition which was used to create the process instance
Sourcepub fn bpmn_process_id(&self) -> &str
pub fn bpmn_process_id(&self) -> &str
the BPMN process ID of the process definition which was used to create the process instance
Sourcepub fn version(&self) -> i32
pub fn version(&self) -> i32
the version of the process definition which was used to create the process instance
Sourcepub fn process_instance_key(&self) -> i64
pub fn process_instance_key(&self) -> i64
the unique identifier of the created process instance; to be used wherever a request needs a process instance key (e.g. CancelProcessInstanceRequest)
Sourcepub fn variables_str(&self) -> &str
pub fn variables_str(&self) -> &str
Serialized JSON document that consists of visible variables in the root scope
Sourcepub fn variables_as<'a, T: Deserialize<'a>>(&'a self) -> Option<T>
pub fn variables_as<'a, T: Deserialize<'a>>(&'a self) -> Option<T>
Deserialize encoded json variables as a given type
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CreateProcessInstanceWithResultResponse
impl RefUnwindSafe for CreateProcessInstanceWithResultResponse
impl Send for CreateProcessInstanceWithResultResponse
impl Sync for CreateProcessInstanceWithResultResponse
impl Unpin for CreateProcessInstanceWithResultResponse
impl UnwindSafe for CreateProcessInstanceWithResultResponse
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request