Struct camunda_client::models::correlation_message_dto::CorrelationMessageDto [−][src]
pub struct CorrelationMessageDto { pub message_name: Option<String>, pub business_key: Option<String>, pub tenant_id: Option<String>, pub without_tenant_id: Option<bool>, pub process_instance_id: Option<String>, pub correlation_keys: Option<HashMap<String, VariableValueDto>>, pub local_correlation_keys: Option<HashMap<String, VariableValueDto>>, pub process_variables: Option<HashMap<String, VariableValueDto>>, pub process_variables_local: Option<HashMap<String, VariableValueDto>>, pub all: Option<bool>, pub result_enabled: Option<bool>, pub variables_in_result_enabled: Option<bool>, }
Fields
message_name: Option<String>
The name of the message to deliver.
business_key: Option<String>
Used for correlation of process instances that wait for incoming messages. Will only correlate to executions that belong to a process instance with the provided business key.
tenant_id: Option<String>
Used to correlate the message for a tenant with the given id. Will only correlate to executions and process definitions which belong to the tenant. Must not be supplied in conjunction with a withoutTenantId
.
without_tenant_id: Option<bool>
A Boolean value that indicates whether the message should only be correlated to executions and process definitions which belong to no tenant or not. Value may only be true
, as false
is the default behavior. Must not be supplied in conjunction with a tenantId
.
process_instance_id: Option<String>
Used to correlate the message to the process instance with the given id.
correlation_keys: Option<HashMap<String, VariableValueDto>>
Used for correlation of process instances that wait for incoming messages. Has to be a JSON object containing key-value pairs that are matched against process instance variables during correlation. Each key is a variable name and each value a JSON variable value object with the following properties.
local_correlation_keys: Option<HashMap<String, VariableValueDto>>
Local variables used for correlation of executions (process instances) that wait for incoming messages. Has to be a JSON object containing key-value pairs that are matched against local variables during correlation. Each key is a variable name and each value a JSON variable value object with the following properties.
process_variables: Option<HashMap<String, VariableValueDto>>
A map of variables that is injected into the triggered execution or process instance after the message has been delivered. Each key is a variable name and each value a JSON variable value object with the following properties.
process_variables_local: Option<HashMap<String, VariableValueDto>>
A map of local variables that is injected into the triggered execution or process instance after the message has been delivered. Each key is a variable name and each value a JSON variable value object with the following properties.
all: Option<bool>
A Boolean value that indicates whether the message should be correlated to exactly one entity or multiple entities. If the value is set to false
, the message will be correlated to exactly one entity (execution or process definition). If the value is set to true
, the message will be correlated to multiple executions and a process definition that can be instantiated by this message in one go.
result_enabled: Option<bool>
A Boolean value that indicates whether the result of the correlation should be returned or not. If this property is set to true
, there will be returned a list of message correlation result objects. Depending on the all property, there will be either one ore more returned results in the list. The default value is false
, which means no result will be returned.
variables_in_result_enabled: Option<bool>
A Boolean value that indicates whether the result of the correlation should contain process variables or not. The parameter resultEnabled should be set to true
in order to use this it. The default value is false
, which means the variables will not be returned.
Implementations
impl CorrelationMessageDto
[src]
pub fn new() -> CorrelationMessageDto
[src]
Trait Implementations
impl Clone for CorrelationMessageDto
[src]
fn clone(&self) -> CorrelationMessageDto
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CorrelationMessageDto
[src]
impl<'de> Deserialize<'de> for CorrelationMessageDto
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<CorrelationMessageDto> for CorrelationMessageDto
[src]
fn eq(&self, other: &CorrelationMessageDto) -> bool
[src]
fn ne(&self, other: &CorrelationMessageDto) -> bool
[src]
impl Serialize for CorrelationMessageDto
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for CorrelationMessageDto
[src]
Auto Trait Implementations
impl RefUnwindSafe for CorrelationMessageDto
impl Send for CorrelationMessageDto
impl Sync for CorrelationMessageDto
impl Unpin for CorrelationMessageDto
impl UnwindSafe for CorrelationMessageDto
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,