#[non_exhaustive]pub struct ExternalWorkflowExecutionCancelRequestedEventAttributes {
pub workflow_execution: Option<WorkflowExecution>,
pub initiated_event_id: i64,
}
Expand description
Provides the details of the ExternalWorkflowExecutionCancelRequested
event.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.workflow_execution: Option<WorkflowExecution>
The external workflow execution to which the cancellation request was delivered.
initiated_event_id: i64
The ID of the RequestCancelExternalWorkflowExecutionInitiated
event corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
Implementations§
source§impl ExternalWorkflowExecutionCancelRequestedEventAttributes
impl ExternalWorkflowExecutionCancelRequestedEventAttributes
sourcepub fn workflow_execution(&self) -> Option<&WorkflowExecution>
pub fn workflow_execution(&self) -> Option<&WorkflowExecution>
The external workflow execution to which the cancellation request was delivered.
sourcepub fn initiated_event_id(&self) -> i64
pub fn initiated_event_id(&self) -> i64
The ID of the RequestCancelExternalWorkflowExecutionInitiated
event corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
source§impl ExternalWorkflowExecutionCancelRequestedEventAttributes
impl ExternalWorkflowExecutionCancelRequestedEventAttributes
sourcepub fn builder(
) -> ExternalWorkflowExecutionCancelRequestedEventAttributesBuilder
pub fn builder( ) -> ExternalWorkflowExecutionCancelRequestedEventAttributesBuilder
Creates a new builder-style object to manufacture ExternalWorkflowExecutionCancelRequestedEventAttributes
.
Trait Implementations§
source§impl Clone for ExternalWorkflowExecutionCancelRequestedEventAttributes
impl Clone for ExternalWorkflowExecutionCancelRequestedEventAttributes
source§fn clone(&self) -> ExternalWorkflowExecutionCancelRequestedEventAttributes
fn clone(&self) -> ExternalWorkflowExecutionCancelRequestedEventAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ExternalWorkflowExecutionCancelRequestedEventAttributes
impl PartialEq for ExternalWorkflowExecutionCancelRequestedEventAttributes
source§fn eq(
&self,
other: &ExternalWorkflowExecutionCancelRequestedEventAttributes
) -> bool
fn eq( &self, other: &ExternalWorkflowExecutionCancelRequestedEventAttributes ) -> bool
self
and other
values to be equal, and is used
by ==
.