#[non_exhaustive]pub struct SignalWorkflowExecutionInput {
pub domain: Option<String>,
pub workflow_id: Option<String>,
pub run_id: Option<String>,
pub signal_name: Option<String>,
pub input: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.domain: Option<String>
The name of the domain containing the workflow execution to signal.
workflow_id: Option<String>
The workflowId of the workflow execution to signal.
run_id: Option<String>
The runId of the workflow execution to signal.
signal_name: Option<String>
The name of the signal. This name must be meaningful to the target workflow.
input: Option<String>
Data to attach to the WorkflowExecutionSignaled
event in the target workflow execution's history.
Implementations§
source§impl SignalWorkflowExecutionInput
impl SignalWorkflowExecutionInput
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
The name of the domain containing the workflow execution to signal.
sourcepub fn workflow_id(&self) -> Option<&str>
pub fn workflow_id(&self) -> Option<&str>
The workflowId of the workflow execution to signal.
sourcepub fn signal_name(&self) -> Option<&str>
pub fn signal_name(&self) -> Option<&str>
The name of the signal. This name must be meaningful to the target workflow.
source§impl SignalWorkflowExecutionInput
impl SignalWorkflowExecutionInput
sourcepub fn builder() -> SignalWorkflowExecutionInputBuilder
pub fn builder() -> SignalWorkflowExecutionInputBuilder
Creates a new builder-style object to manufacture SignalWorkflowExecutionInput
.
Trait Implementations§
source§impl Clone for SignalWorkflowExecutionInput
impl Clone for SignalWorkflowExecutionInput
source§fn clone(&self) -> SignalWorkflowExecutionInput
fn clone(&self) -> SignalWorkflowExecutionInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SignalWorkflowExecutionInput
impl Debug for SignalWorkflowExecutionInput
source§impl PartialEq for SignalWorkflowExecutionInput
impl PartialEq for SignalWorkflowExecutionInput
source§fn eq(&self, other: &SignalWorkflowExecutionInput) -> bool
fn eq(&self, other: &SignalWorkflowExecutionInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SignalWorkflowExecutionInput
Auto Trait Implementations§
impl Freeze for SignalWorkflowExecutionInput
impl RefUnwindSafe for SignalWorkflowExecutionInput
impl Send for SignalWorkflowExecutionInput
impl Sync for SignalWorkflowExecutionInput
impl Unpin for SignalWorkflowExecutionInput
impl UnwindSafe for SignalWorkflowExecutionInput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.