pub struct ActivityInstanceDto {
pub id: Option<String>,
pub parent_activity_instance_id: Option<String>,
pub activity_id: Option<String>,
pub activity_name: Option<String>,
pub activity_type: Option<String>,
pub process_instance_id: Option<String>,
pub process_definition_id: Option<String>,
pub child_activity_instances: Option<Vec<ActivityInstanceDto>>,
pub child_transition_instances: Option<Vec<TransitionInstanceDto>>,
pub execution_ids: Option<Vec<String>>,
pub incident_ids: Option<Vec<String>>,
pub incidents: Option<Vec<ActivityInstanceIncidentDto>>,
}Expand description
ActivityInstanceDto : A JSON object corresponding to the Activity Instance tree of the given process instance.
Fields§
§id: Option<String>The id of the activity instance.
parent_activity_instance_id: Option<String>The id of the parent activity instance, for example a sub process instance.
activity_id: Option<String>The id of the activity.
activity_name: Option<String>The name of the activity
activity_type: Option<String>The type of activity (corresponds to the XML element name in the BPMN 2.0, e.g., ‘userTask’)
process_instance_id: Option<String>The id of the process instance this activity instance is part of.
process_definition_id: Option<String>The id of the process definition.
child_activity_instances: Option<Vec<ActivityInstanceDto>>A list of child activity instances.
child_transition_instances: Option<Vec<TransitionInstanceDto>>A list of child transition instances. A transition instance represents an execution waiting in an asynchronous continuation.
execution_ids: Option<Vec<String>>A list of execution ids.
incident_ids: Option<Vec<String>>A list of incident ids.
incidents: Option<Vec<ActivityInstanceIncidentDto>>A list of JSON objects containing incident specific properties: * id: the id of the incident * activityId: the activity id in which the incident occurred
Implementations§
Source§impl ActivityInstanceDto
impl ActivityInstanceDto
Sourcepub fn new() -> ActivityInstanceDto
pub fn new() -> ActivityInstanceDto
A JSON object corresponding to the Activity Instance tree of the given process instance.
Trait Implementations§
Source§impl Clone for ActivityInstanceDto
impl Clone for ActivityInstanceDto
Source§fn clone(&self) -> ActivityInstanceDto
fn clone(&self) -> ActivityInstanceDto
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ActivityInstanceDto
impl Debug for ActivityInstanceDto
Source§impl<'de> Deserialize<'de> for ActivityInstanceDto
impl<'de> Deserialize<'de> for ActivityInstanceDto
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 ActivityInstanceDto
impl PartialEq for ActivityInstanceDto
Source§impl Serialize for ActivityInstanceDto
impl Serialize for ActivityInstanceDto
impl StructuralPartialEq for ActivityInstanceDto
Auto Trait Implementations§
impl Freeze for ActivityInstanceDto
impl RefUnwindSafe for ActivityInstanceDto
impl Send for ActivityInstanceDto
impl Sync for ActivityInstanceDto
impl Unpin for ActivityInstanceDto
impl UnwindSafe for ActivityInstanceDto
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