#[non_exhaustive]pub struct ExternalSignalResult {
pub outcome: ExternalSignalOutcome,
pub reason: Option<String>,
pub message: Option<String>,
pub target_workflow_id: String,
pub target_run_id: Option<String>,
pub signal_name: String,
pub request_id: Option<String>,
pub target_command_id: Option<String>,
pub target_signal_id: Option<String>,
pub retained: bool,
}Expand description
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.outcome: ExternalSignalOutcome§reason: Option<String>The stable reason for a failed outcome; None when delivered.
message: Option<String>The Server’s human-readable detail for a failed outcome.
target_workflow_id: String§target_run_id: Option<String>The run that received the signal, or for a failure the run that was
resolved (None when no run was resolved).
signal_name: String§request_id: Option<String>The command key (workflow-signal:<sender run id>:<sequence>).
target_command_id: Option<String>The command recorded on the target, when the target recorded one.
target_signal_id: Option<String>The target’s signal record, when delivered.
retained: boolTrue when the same command key had already been delivered.
Implementations§
Source§impl ExternalSignalResult
impl ExternalSignalResult
pub fn is_delivered(&self) -> bool
Trait Implementations§
Source§impl Clone for ExternalSignalResult
impl Clone for ExternalSignalResult
Source§fn clone(&self) -> ExternalSignalResult
fn clone(&self) -> ExternalSignalResult
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 ExternalSignalResult
impl Debug for ExternalSignalResult
Source§impl PartialEq for ExternalSignalResult
impl PartialEq for ExternalSignalResult
impl Eq for ExternalSignalResult
impl StructuralPartialEq for ExternalSignalResult
Auto Trait Implementations§
impl Freeze for ExternalSignalResult
impl RefUnwindSafe for ExternalSignalResult
impl Send for ExternalSignalResult
impl Sync for ExternalSignalResult
impl Unpin for ExternalSignalResult
impl UnwindSafe for ExternalSignalResult
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