#[non_exhaustive]pub struct SignalWaitSnapshot {
pub wait_id: String,
pub signal_name: String,
pub status: SignalWaitStatus,
pub created_at: DateTime<Utc>,
pub created_sequence: u64,
pub signal_id: Option<String>,
pub completed_at: Option<DateTime<Utc>>,
pub completed_sequence: Option<u64>,
}Expand description
A deterministic workflow wait for the next unconsumed signal of one name.
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.wait_id: StringReplay-stable identity of the wait.
signal_name: StringSignal contract accepted by the wait.
status: SignalWaitStatusCurrent lifecycle state.
created_at: DateTime<Utc>UTC time at which the wait was created.
created_sequence: u64Event sequence that created the wait.
signal_id: Option<String>Signal paired with the wait, when completed.
completed_at: Option<DateTime<Utc>>UTC time at which the signal was paired.
completed_sequence: Option<u64>Event sequence that completed the wait.
Trait Implementations§
Source§impl Clone for SignalWaitSnapshot
impl Clone for SignalWaitSnapshot
Source§fn clone(&self) -> SignalWaitSnapshot
fn clone(&self) -> SignalWaitSnapshot
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 SignalWaitSnapshot
impl Debug for SignalWaitSnapshot
Source§impl<'de> Deserialize<'de> for SignalWaitSnapshot
impl<'de> Deserialize<'de> for SignalWaitSnapshot
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 SignalWaitSnapshot
impl PartialEq for SignalWaitSnapshot
Source§impl Serialize for SignalWaitSnapshot
impl Serialize for SignalWaitSnapshot
impl StructuralPartialEq for SignalWaitSnapshot
Auto Trait Implementations§
impl Freeze for SignalWaitSnapshot
impl RefUnwindSafe for SignalWaitSnapshot
impl Send for SignalWaitSnapshot
impl Sync for SignalWaitSnapshot
impl Unpin for SignalWaitSnapshot
impl UnsafeUnpin for SignalWaitSnapshot
impl UnwindSafe for SignalWaitSnapshot
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