pub struct SignalWait {
pub step_id: String,
pub name: String,
pub schema_ref: Option<String>,
pub expires_at_ms: Option<u64>,
}Expand description
An open await_signal step the host registers so a matching signal can be delivered.
Fields§
§step_id: StringThe step that is waiting.
name: StringSignal name.
schema_ref: Option<String>Payload schema reference, when the reducer named one.
expires_at_ms: Option<u64>Absolute expiry in milliseconds since the Unix epoch; None waits forever.
Trait Implementations§
Source§impl Clone for SignalWait
impl Clone for SignalWait
Source§fn clone(&self) -> SignalWait
fn clone(&self) -> SignalWait
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 SignalWait
impl Debug for SignalWait
Source§impl<'de> Deserialize<'de> for SignalWait
impl<'de> Deserialize<'de> for SignalWait
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 JsonSchema for SignalWait
impl JsonSchema for SignalWait
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SignalWait
impl PartialEq for SignalWait
Source§fn eq(&self, other: &SignalWait) -> bool
fn eq(&self, other: &SignalWait) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SignalWait
impl Serialize for SignalWait
impl StructuralPartialEq for SignalWait
Auto Trait Implementations§
impl Freeze for SignalWait
impl RefUnwindSafe for SignalWait
impl Send for SignalWait
impl Sync for SignalWait
impl Unpin for SignalWait
impl UnsafeUnpin for SignalWait
impl UnwindSafe for SignalWait
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