pub struct SendOptions {
pub in_reply_to: Option<String>,
pub notify_when_idle: bool,
pub queue: bool,
pub idempotency_key: Option<String>,
}Expand description
Options of one send.
Fields§
§in_reply_to: Option<String>Id of the message this one answers.
notify_when_idle: boolAlso send one notice when the receiver’s next turn ends.
queue: boolOnly enqueue; never start a turn in an idle receiver.
idempotency_key: Option<String>Idempotency key: repeating a send with it does not send twice.
Trait Implementations§
Source§impl Clone for SendOptions
impl Clone for SendOptions
Source§impl Debug for SendOptions
impl Debug for SendOptions
Auto Trait Implementations§
impl Freeze for SendOptions
impl RefUnwindSafe for SendOptions
impl Send for SendOptions
impl Sync for SendOptions
impl Unpin for SendOptions
impl UnsafeUnpin for SendOptions
impl UnwindSafe for SendOptions
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