#[non_exhaustive]pub struct SignalDeliveryEvent {
pub cursor: StreamCursor,
pub execution_id: ExecutionId,
pub signal_id: SignalId,
pub waitpoint_id: Option<WaitpointId>,
pub source_identity: Option<String>,
pub effect: SignalDeliveryEffect,
pub at: TimestampMs,
}Expand description
Per-event payload of subscribe_signal_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.cursor: StreamCursor§execution_id: ExecutionId§signal_id: SignalId§waitpoint_id: Option<WaitpointId>§source_identity: Option<String>§effect: SignalDeliveryEffect§at: TimestampMsImplementations§
Source§impl SignalDeliveryEvent
impl SignalDeliveryEvent
Sourcepub fn new(
cursor: StreamCursor,
execution_id: ExecutionId,
signal_id: SignalId,
waitpoint_id: Option<WaitpointId>,
source_identity: Option<String>,
effect: SignalDeliveryEffect,
at: TimestampMs,
) -> Self
pub fn new( cursor: StreamCursor, execution_id: ExecutionId, signal_id: SignalId, waitpoint_id: Option<WaitpointId>, source_identity: Option<String>, effect: SignalDeliveryEffect, at: TimestampMs, ) -> Self
Construct a SignalDeliveryEvent. Backend adapters use this
constructor so future additive fields are non-breaking.
Trait Implementations§
Source§impl Clone for SignalDeliveryEvent
impl Clone for SignalDeliveryEvent
Source§fn clone(&self) -> SignalDeliveryEvent
fn clone(&self) -> SignalDeliveryEvent
Returns a duplicate 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 moreAuto Trait Implementations§
impl !Freeze for SignalDeliveryEvent
impl RefUnwindSafe for SignalDeliveryEvent
impl Send for SignalDeliveryEvent
impl Sync for SignalDeliveryEvent
impl Unpin for SignalDeliveryEvent
impl UnsafeUnpin for SignalDeliveryEvent
impl UnwindSafe for SignalDeliveryEvent
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