pub struct SignalPayload {
pub signal_name: String,
pub payload: Payload,
}Expand description
Signal payload delivered through a workflow signal channel.
Fields§
§signal_name: StringWorkflow-declared signal name.
payload: PayloadType-erased signal bytes and content type.
Trait Implementations§
Source§impl Clone for SignalPayload
impl Clone for SignalPayload
Source§fn clone(&self) -> SignalPayload
fn clone(&self) -> SignalPayload
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 SignalPayload
impl Debug for SignalPayload
impl Eq for SignalPayload
Source§impl PartialEq for SignalPayload
impl PartialEq for SignalPayload
Source§fn eq(&self, other: &SignalPayload) -> bool
fn eq(&self, other: &SignalPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SignalPayload
Auto Trait Implementations§
impl Freeze for SignalPayload
impl RefUnwindSafe for SignalPayload
impl Send for SignalPayload
impl Sync for SignalPayload
impl Unpin for SignalPayload
impl UnsafeUnpin for SignalPayload
impl UnwindSafe for SignalPayload
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.