#[non_exhaustive]pub struct WorkflowExecutionSignaledEventAttributes {
pub signal_name: String,
pub input: Option<String>,
pub external_workflow_execution: Option<WorkflowExecution>,
pub external_initiated_event_id: i64,
}
Expand description
Provides the details of the WorkflowExecutionSignaled
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.signal_name: String
The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.
input: Option<String>
The inputs provided with the signal. The decider can use the signal name and inputs to determine how to process the signal.
external_workflow_execution: Option<WorkflowExecution>
The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
external_initiated_event_id: i64
The ID of the SignalExternalWorkflowExecutionInitiated
event corresponding to the SignalExternalWorkflow
decision to signal 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. This field is set only if the signal was initiated by another workflow execution.
Implementations§
source§impl WorkflowExecutionSignaledEventAttributes
impl WorkflowExecutionSignaledEventAttributes
sourcepub fn signal_name(&self) -> &str
pub fn signal_name(&self) -> &str
The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.
sourcepub fn input(&self) -> Option<&str>
pub fn input(&self) -> Option<&str>
The inputs provided with the signal. The decider can use the signal name and inputs to determine how to process the signal.
sourcepub fn external_workflow_execution(&self) -> Option<&WorkflowExecution>
pub fn external_workflow_execution(&self) -> Option<&WorkflowExecution>
The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
sourcepub fn external_initiated_event_id(&self) -> i64
pub fn external_initiated_event_id(&self) -> i64
The ID of the SignalExternalWorkflowExecutionInitiated
event corresponding to the SignalExternalWorkflow
decision to signal 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. This field is set only if the signal was initiated by another workflow execution.
source§impl WorkflowExecutionSignaledEventAttributes
impl WorkflowExecutionSignaledEventAttributes
sourcepub fn builder() -> WorkflowExecutionSignaledEventAttributesBuilder
pub fn builder() -> WorkflowExecutionSignaledEventAttributesBuilder
Creates a new builder-style object to manufacture WorkflowExecutionSignaledEventAttributes
.
Trait Implementations§
source§impl Clone for WorkflowExecutionSignaledEventAttributes
impl Clone for WorkflowExecutionSignaledEventAttributes
source§fn clone(&self) -> WorkflowExecutionSignaledEventAttributes
fn clone(&self) -> WorkflowExecutionSignaledEventAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for WorkflowExecutionSignaledEventAttributes
impl PartialEq for WorkflowExecutionSignaledEventAttributes
source§fn eq(&self, other: &WorkflowExecutionSignaledEventAttributes) -> bool
fn eq(&self, other: &WorkflowExecutionSignaledEventAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WorkflowExecutionSignaledEventAttributes
Auto Trait Implementations§
impl Freeze for WorkflowExecutionSignaledEventAttributes
impl RefUnwindSafe for WorkflowExecutionSignaledEventAttributes
impl Send for WorkflowExecutionSignaledEventAttributes
impl Sync for WorkflowExecutionSignaledEventAttributes
impl Unpin for WorkflowExecutionSignaledEventAttributes
impl UnwindSafe for WorkflowExecutionSignaledEventAttributes
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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