pub struct ExternalTaskDto {Show 17 fields
pub activity_id: Option<String>,
pub activity_instance_id: Option<String>,
pub error_message: Option<String>,
pub execution_id: Option<String>,
pub id: Option<String>,
pub lock_expiration_time: Option<String>,
pub process_definition_id: Option<String>,
pub process_definition_key: Option<String>,
pub process_definition_version_tag: Option<String>,
pub process_instance_id: Option<String>,
pub tenant_id: Option<String>,
pub retries: Option<i32>,
pub suspended: Option<bool>,
pub worker_id: Option<String>,
pub topic_name: Option<String>,
pub priority: Option<i64>,
pub business_key: Option<String>,
}Expand description
ExternalTaskDto : An External Task object with the following properties
Fields§
§activity_id: Option<String>The id of the activity that this external task belongs to.
activity_instance_id: Option<String>The id of the activity instance that the external task belongs to.
error_message: Option<String>The full error message submitted with the latest reported failure executing this task; null if no failure was reported previously or if no error message was submitted
execution_id: Option<String>The id of the execution that the external task belongs to.
id: Option<String>The id of the external task.
lock_expiration_time: Option<String>The date that the task’s most recent lock expires or has expired.
process_definition_id: Option<String>The id of the process definition the external task is defined in.
process_definition_key: Option<String>The key of the process definition the external task is defined in.
process_definition_version_tag: Option<String>The version tag of the process definition the external task is defined in.
process_instance_id: Option<String>The id of the process instance the external task belongs to.
tenant_id: Option<String>The id of the tenant the external task belongs to.
retries: Option<i32>The number of retries the task currently has left.
suspended: Option<bool>A flag indicating whether the external task is suspended or not.
worker_id: Option<String>The id of the worker that posesses or posessed the most recent lock.
topic_name: Option<String>The topic name of the external task.
priority: Option<i64>The priority of the external task.
business_key: Option<String>The business key of the process instance the external task belongs to.
Implementations§
Source§impl ExternalTaskDto
impl ExternalTaskDto
Sourcepub fn new() -> ExternalTaskDto
pub fn new() -> ExternalTaskDto
An External Task object with the following properties
Trait Implementations§
Source§impl Clone for ExternalTaskDto
impl Clone for ExternalTaskDto
Source§fn clone(&self) -> ExternalTaskDto
fn clone(&self) -> ExternalTaskDto
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExternalTaskDto
impl Debug for ExternalTaskDto
Source§impl<'de> Deserialize<'de> for ExternalTaskDto
impl<'de> Deserialize<'de> for ExternalTaskDto
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>,
Source§impl PartialEq for ExternalTaskDto
impl PartialEq for ExternalTaskDto
Source§impl Serialize for ExternalTaskDto
impl Serialize for ExternalTaskDto
impl StructuralPartialEq for ExternalTaskDto
Auto Trait Implementations§
impl Freeze for ExternalTaskDto
impl RefUnwindSafe for ExternalTaskDto
impl Send for ExternalTaskDto
impl Sync for ExternalTaskDto
impl Unpin for ExternalTaskDto
impl UnwindSafe for ExternalTaskDto
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