pub struct FetchExternalTaskTopicDto {Show 14 fields
pub topic_name: String,
pub lock_duration: Option<i64>,
pub variables: Option<Vec<String>>,
pub local_variables: Option<bool>,
pub business_key: Option<String>,
pub process_definition_id: Option<String>,
pub process_definition_id_in: Option<Vec<String>>,
pub process_definition_key: Option<String>,
pub process_definition_key_in: Option<Vec<String>>,
pub process_definition_version_tag: Option<String>,
pub without_tenant_id: Option<bool>,
pub tenant_id_in: Option<Vec<String>>,
pub process_variables: Option<HashMap<String, Value>>,
pub deserialize_values: Option<bool>,
}Fields§
§topic_name: StringMandatory. The topic’s name.
lock_duration: Option<i64>Mandatory. The duration to lock the external tasks for in milliseconds.
variables: Option<Vec<String>>A JSON array of String values that represent variable names. For each result task belonging to this topic, the given variables are returned as well if they are accessible from the external task’s execution. If not provided - all variables will be fetched.
local_variables: Option<bool>If true only local variables will be fetched.
business_key: Option<String>A String value which enables the filtering of tasks based on process instance business key.
process_definition_id: Option<String>Filter tasks based on process definition id.
process_definition_id_in: Option<Vec<String>>Filter tasks based on process definition ids.
process_definition_key: Option<String>Filter tasks based on process definition key.
process_definition_key_in: Option<Vec<String>>Filter tasks based on process definition keys.
process_definition_version_tag: Option<String>Filter tasks based on process definition version tag.
without_tenant_id: Option<bool>Filter tasks without tenant id.
tenant_id_in: Option<Vec<String>>Filter tasks based on tenant ids.
process_variables: Option<HashMap<String, Value>>A JSON object used for filtering tasks based on process instance variable values. A property name of the object represents a process variable name, while the property value represents the process variable value to filter tasks by.
deserialize_values: Option<bool>Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on server side (default false). If set to true, a serializable variable will be deserialized on server side and transformed to JSON using Jackson’s POJO/bean property introspection feature. Note that this requires the Java classes of the variable value to be on the REST API’s classpath. If set to false, a serializable variable will be returned in its serialized format. For example, a variable that is serialized as XML will be returned as a JSON string containing XML.
Implementations§
Trait Implementations§
Source§impl Clone for FetchExternalTaskTopicDto
impl Clone for FetchExternalTaskTopicDto
Source§fn clone(&self) -> FetchExternalTaskTopicDto
fn clone(&self) -> FetchExternalTaskTopicDto
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FetchExternalTaskTopicDto
impl Debug for FetchExternalTaskTopicDto
Source§impl<'de> Deserialize<'de> for FetchExternalTaskTopicDto
impl<'de> Deserialize<'de> for FetchExternalTaskTopicDto
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>,
impl StructuralPartialEq for FetchExternalTaskTopicDto
Auto Trait Implementations§
impl Freeze for FetchExternalTaskTopicDto
impl RefUnwindSafe for FetchExternalTaskTopicDto
impl Send for FetchExternalTaskTopicDto
impl Sync for FetchExternalTaskTopicDto
impl Unpin for FetchExternalTaskTopicDto
impl UnwindSafe for FetchExternalTaskTopicDto
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more