pub struct WorkflowExecutionCancelRequestedEventAttributes {
pub cause: Option<String>,
pub external_initiated_event_id: Option<i64>,
pub external_workflow_execution: Option<WorkflowExecution>,
}
Expand description
Provides the details of the WorkflowExecutionCancelRequested
event.
Fields§
§cause: Option<String>
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
external_initiated_event_id: Option<i64>
The ID of the RequestCancelExternalWorkflowExecutionInitiated
event corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
external_workflow_execution: Option<WorkflowExecution>
The external workflow execution for which the cancellation was requested.
Trait Implementations§
Source§impl Clone for WorkflowExecutionCancelRequestedEventAttributes
impl Clone for WorkflowExecutionCancelRequestedEventAttributes
Source§fn clone(&self) -> WorkflowExecutionCancelRequestedEventAttributes
fn clone(&self) -> WorkflowExecutionCancelRequestedEventAttributes
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for WorkflowExecutionCancelRequestedEventAttributes
impl Default for WorkflowExecutionCancelRequestedEventAttributes
Source§fn default() -> WorkflowExecutionCancelRequestedEventAttributes
fn default() -> WorkflowExecutionCancelRequestedEventAttributes
Source§impl<'de> Deserialize<'de> for WorkflowExecutionCancelRequestedEventAttributes
impl<'de> Deserialize<'de> for WorkflowExecutionCancelRequestedEventAttributes
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 WorkflowExecutionCancelRequestedEventAttributes
impl PartialEq for WorkflowExecutionCancelRequestedEventAttributes
Source§fn eq(&self, other: &WorkflowExecutionCancelRequestedEventAttributes) -> bool
fn eq(&self, other: &WorkflowExecutionCancelRequestedEventAttributes) -> bool
self
and other
values to be equal, and is used by ==
.