pub struct SendRequest {
pub sendid: String,
pub event: Event,
pub target: Option<String>,
pub type_: String,
pub delay_ms: u64,
}Expand description
A request to deliver an event, produced by <send>.
Fields§
§sendid: StringThe send identifier (declared, or generated from the session id and a counter).
event: EventThe event to deliver, with sendid set when the chart declared or stored the identifier,
and origin/origintype set for the SCXML processor.
target: Option<String>The evaluated target; None means the session’s own external queue.
type_: StringThe evaluated Event I/O Processor type.
delay_ms: u64Delay before delivery, in milliseconds.
Trait Implementations§
Source§impl Clone for SendRequest
impl Clone for SendRequest
Source§impl Debug for SendRequest
impl Debug for SendRequest
Source§impl PartialEq for SendRequest
impl PartialEq for SendRequest
impl StructuralPartialEq for SendRequest
Auto Trait Implementations§
impl Forget for SendRequest
impl Freeze for SendRequest
impl Move for SendRequest
impl RefUnwindSafe for SendRequest
impl Send for SendRequest
impl Sync for SendRequest
impl Unpin for SendRequest
impl UnsafeUnpin for SendRequest
impl UnwindSafe for SendRequest
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