pub struct DeliverSignalArgs {Show 19 fields
pub execution_id: ExecutionId,
pub waitpoint_id: WaitpointId,
pub signal_id: SignalId,
pub signal_name: String,
pub signal_category: String,
pub source_type: String,
pub source_identity: String,
pub payload: Option<Vec<u8>>,
pub payload_encoding: Option<String>,
pub correlation_id: Option<String>,
pub idempotency_key: Option<String>,
pub target_scope: String,
pub created_at: Option<TimestampMs>,
pub dedup_ttl_ms: Option<u64>,
pub resume_delay_ms: Option<u64>,
pub max_signals_per_execution: Option<u64>,
pub signal_maxlen: Option<u64>,
pub waitpoint_token: WaitpointToken,
pub now: TimestampMs,
}Fields§
§execution_id: ExecutionId§waitpoint_id: WaitpointId§signal_id: SignalId§signal_name: String§signal_category: String§source_type: String§source_identity: String§payload: Option<Vec<u8>>§payload_encoding: Option<String>§correlation_id: Option<String>§idempotency_key: Option<String>§target_scope: String§created_at: Option<TimestampMs>§dedup_ttl_ms: Option<u64>Dedup TTL for idempotency key (ms).
resume_delay_ms: Option<u64>Resume delay after signal satisfaction (ms).
max_signals_per_execution: Option<u64>Max signals per execution (default 10000).
signal_maxlen: Option<u64>MAXLEN for the waitpoint signal stream.
waitpoint_token: WaitpointTokenHMAC-SHA1 token issued when the waitpoint was created. Required for
signal delivery; missing/tampered/rotated-past-grace tokens are
rejected with invalid_token or token_expired (RFC-004).
Defense-in-depth: WaitpointToken is a transparent string newtype,
so an empty string deserializes successfully from JSON. The
validation boundary is in Lua (validate_waitpoint_token returns
missing_token on empty input); this type intentionally does NOT
pre-reject at the Rust layer so callers get a consistent typed
error regardless of how they constructed the args.
now: TimestampMsTrait Implementations§
Source§impl Clone for DeliverSignalArgs
impl Clone for DeliverSignalArgs
Source§fn clone(&self) -> DeliverSignalArgs
fn clone(&self) -> DeliverSignalArgs
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 moreSource§impl Debug for DeliverSignalArgs
impl Debug for DeliverSignalArgs
Source§impl<'de> Deserialize<'de> for DeliverSignalArgs
impl<'de> Deserialize<'de> for DeliverSignalArgs
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
Auto Trait Implementations§
impl Freeze for DeliverSignalArgs
impl RefUnwindSafe for DeliverSignalArgs
impl Send for DeliverSignalArgs
impl Sync for DeliverSignalArgs
impl Unpin for DeliverSignalArgs
impl UnsafeUnpin for DeliverSignalArgs
impl UnwindSafe for DeliverSignalArgs
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