pub struct ExternalTask {
pub task_id: String,
pub token_id: String,
pub process_instance_id: String,
pub task_type: String,
pub state: ExternalTaskState,
pub lock_owner: Option<String>,
pub lock_expire_at: Option<String>,
pub retries: i32,
pub error_message: Option<String>,
pub variables: HashMap<String, String>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}Expand description
External task DTO for API and store (plan §5).
Fields§
§task_id: String§token_id: String§process_instance_id: String§task_type: String§state: ExternalTaskState§lock_owner: Option<String>§lock_expire_at: Option<String>§retries: i32§error_message: Option<String>§variables: HashMap<String, String>§created_at: Option<String>§updated_at: Option<String>Trait Implementations§
Source§impl Clone for ExternalTask
impl Clone for ExternalTask
Source§fn clone(&self) -> ExternalTask
fn clone(&self) -> ExternalTask
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 ExternalTask
impl Debug for ExternalTask
Source§impl<'de> Deserialize<'de> for ExternalTask
impl<'de> Deserialize<'de> for ExternalTask
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
Auto Trait Implementations§
impl Freeze for ExternalTask
impl RefUnwindSafe for ExternalTask
impl Send for ExternalTask
impl Sync for ExternalTask
impl Unpin for ExternalTask
impl UnsafeUnpin for ExternalTask
impl UnwindSafe for ExternalTask
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