#[non_exhaustive]pub struct WorkflowSignal {
pub signal_id: String,
pub name: String,
pub payload: JsonValue,
}Expand description
One durable asynchronous message delivered to a workflow execution.
signal_id is the caller-owned idempotency identity. A caller must reuse
both the target run ID and this value when retrying an uncertain delivery.
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.signal_id: StringCaller-owned idempotency identity.
name: StringDeclared signal contract name.
payload: JsonValueApplication-defined JSON payload.
Implementations§
Trait Implementations§
Source§impl Clone for WorkflowSignal
impl Clone for WorkflowSignal
Source§fn clone(&self) -> WorkflowSignal
fn clone(&self) -> WorkflowSignal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkflowSignal
impl Debug for WorkflowSignal
Source§impl<'de> Deserialize<'de> for WorkflowSignal
impl<'de> Deserialize<'de> for WorkflowSignal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WorkflowSignal
impl PartialEq for WorkflowSignal
Source§impl Serialize for WorkflowSignal
impl Serialize for WorkflowSignal
impl StructuralPartialEq for WorkflowSignal
Auto Trait Implementations§
impl Freeze for WorkflowSignal
impl RefUnwindSafe for WorkflowSignal
impl Send for WorkflowSignal
impl Sync for WorkflowSignal
impl Unpin for WorkflowSignal
impl UnsafeUnpin for WorkflowSignal
impl UnwindSafe for WorkflowSignal
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