pub struct BasicPublishOptions {
pub ticket: u16,
pub mandatory: bool,
pub immediate: bool,
}Fields§
§ticket: u16§mandatory: boolThis flag tells the server how to react if the message cannot be routed to a queue. If this flag is set, the server will return an unroutable message with a Return method. If this flag is zero, the server silently drops the message.
immediate: boolThis flag tells the server how to react if the message cannot be routed to a queue consumer immediately. If this flag is set, the server will return an undeliverable message with a Return method. If this flag is zero, the server will queue the message, but with no guarantee that it will ever be consumed.
Trait Implementations§
Source§impl Clone for BasicPublishOptions
impl Clone for BasicPublishOptions
Source§fn clone(&self) -> BasicPublishOptions
fn clone(&self) -> BasicPublishOptions
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 BasicPublishOptions
impl Debug for BasicPublishOptions
Source§impl Default for BasicPublishOptions
impl Default for BasicPublishOptions
Source§fn default() -> BasicPublishOptions
fn default() -> BasicPublishOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for BasicPublishOptions
impl PartialEq for BasicPublishOptions
impl StructuralPartialEq for BasicPublishOptions
Auto Trait Implementations§
impl Freeze for BasicPublishOptions
impl RefUnwindSafe for BasicPublishOptions
impl Send for BasicPublishOptions
impl Sync for BasicPublishOptions
impl Unpin for BasicPublishOptions
impl UnwindSafe for BasicPublishOptions
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