#[non_exhaustive]pub struct SignalExternalWorkflowExecutionInitiatedEventAttributes {
pub workflow_id: String,
pub run_id: Option<String>,
pub signal_name: String,
pub input: Option<String>,
pub decision_task_completed_event_id: i64,
pub control: Option<String>,
}
Expand description
Provides the details of the SignalExternalWorkflowExecutionInitiated
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_id: String
The workflowId
of the external workflow execution.
run_id: Option<String>
The runId
of the external workflow execution to send the signal to.
signal_name: String
The name of the signal.
input: Option<String>
The input provided to the signal.
decision_task_completed_event_id: i64
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution
decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
control: Option<String>
Data attached to the event that can be used by the decider in subsequent decision tasks.
Implementations§
source§impl SignalExternalWorkflowExecutionInitiatedEventAttributes
impl SignalExternalWorkflowExecutionInitiatedEventAttributes
sourcepub fn workflow_id(&self) -> &str
pub fn workflow_id(&self) -> &str
The workflowId
of the external workflow execution.
sourcepub fn run_id(&self) -> Option<&str>
pub fn run_id(&self) -> Option<&str>
The runId
of the external workflow execution to send the signal to.
sourcepub fn signal_name(&self) -> &str
pub fn signal_name(&self) -> &str
The name of the signal.
sourcepub fn decision_task_completed_event_id(&self) -> i64
pub fn decision_task_completed_event_id(&self) -> i64
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution
decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
source§impl SignalExternalWorkflowExecutionInitiatedEventAttributes
impl SignalExternalWorkflowExecutionInitiatedEventAttributes
sourcepub fn builder(
) -> SignalExternalWorkflowExecutionInitiatedEventAttributesBuilder
pub fn builder( ) -> SignalExternalWorkflowExecutionInitiatedEventAttributesBuilder
Creates a new builder-style object to manufacture SignalExternalWorkflowExecutionInitiatedEventAttributes
.
Trait Implementations§
source§impl Clone for SignalExternalWorkflowExecutionInitiatedEventAttributes
impl Clone for SignalExternalWorkflowExecutionInitiatedEventAttributes
source§fn clone(&self) -> SignalExternalWorkflowExecutionInitiatedEventAttributes
fn clone(&self) -> SignalExternalWorkflowExecutionInitiatedEventAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for SignalExternalWorkflowExecutionInitiatedEventAttributes
impl PartialEq for SignalExternalWorkflowExecutionInitiatedEventAttributes
source§fn eq(
&self,
other: &SignalExternalWorkflowExecutionInitiatedEventAttributes
) -> bool
fn eq( &self, other: &SignalExternalWorkflowExecutionInitiatedEventAttributes ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SignalExternalWorkflowExecutionInitiatedEventAttributes
Auto Trait Implementations§
impl Freeze for SignalExternalWorkflowExecutionInitiatedEventAttributes
impl RefUnwindSafe for SignalExternalWorkflowExecutionInitiatedEventAttributes
impl Send for SignalExternalWorkflowExecutionInitiatedEventAttributes
impl Sync for SignalExternalWorkflowExecutionInitiatedEventAttributes
impl Unpin for SignalExternalWorkflowExecutionInitiatedEventAttributes
impl UnwindSafe for SignalExternalWorkflowExecutionInitiatedEventAttributes
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