Struct lapin_futures_tls_api::lapin::channel::BasicPublishOptions
source · 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 copy 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
source§fn eq(&self, other: &BasicPublishOptions) -> bool
fn eq(&self, other: &BasicPublishOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)