pub struct EnqueueOptions {
pub sender_id: Option<String>,
pub priority: u8,
pub dedupe_key: Option<String>,
}Expand description
Optional envelope fields for enqueued mailbox entries.
Fields§
§sender_id: Option<String>Identity of the sender for audit and reply routing.
priority: u8Dispatch priority (higher = dispatched first). Default 0.
dedupe_key: Option<String>Deduplication key — rejected if another entry with the same key exists in the mailbox.
Trait Implementations§
Source§impl Clone for EnqueueOptions
impl Clone for EnqueueOptions
Source§fn clone(&self) -> EnqueueOptions
fn clone(&self) -> EnqueueOptions
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 EnqueueOptions
impl Debug for EnqueueOptions
Source§impl Default for EnqueueOptions
impl Default for EnqueueOptions
Source§fn default() -> EnqueueOptions
fn default() -> EnqueueOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EnqueueOptions
impl RefUnwindSafe for EnqueueOptions
impl Send for EnqueueOptions
impl Sync for EnqueueOptions
impl Unpin for EnqueueOptions
impl UnwindSafe for EnqueueOptions
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