Struct lapin_futures_tls_api::lapin::channel::QueueDeleteOptions
source · pub struct QueueDeleteOptions {
pub ticket: u16,
pub if_unused: bool,
pub if_empty: bool,
pub no_wait: bool,
}Fields§
§ticket: u16§if_unused: boolIf set, the server will only delete the queue if it has no consumers. If the queue has consumers the server does does not delete it but raises a channel exception instead.
if_empty: boolIf set, the server will only delete the queue if it has no messages.
no_wait: boolIf set, the server will not respond to the method. The client should not wait for a reply method. If the server could not complete the method it will raise a channel or connection exception.
Trait Implementations§
source§impl Clone for QueueDeleteOptions
impl Clone for QueueDeleteOptions
source§fn clone(&self) -> QueueDeleteOptions
fn clone(&self) -> QueueDeleteOptions
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 QueueDeleteOptions
impl Debug for QueueDeleteOptions
source§impl Default for QueueDeleteOptions
impl Default for QueueDeleteOptions
source§fn default() -> QueueDeleteOptions
fn default() -> QueueDeleteOptions
Returns the “default value” for a type. Read more
source§impl PartialEq for QueueDeleteOptions
impl PartialEq for QueueDeleteOptions
source§fn eq(&self, other: &QueueDeleteOptions) -> bool
fn eq(&self, other: &QueueDeleteOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for QueueDeleteOptions
Auto Trait Implementations§
impl Freeze for QueueDeleteOptions
impl RefUnwindSafe for QueueDeleteOptions
impl Send for QueueDeleteOptions
impl Sync for QueueDeleteOptions
impl Unpin for QueueDeleteOptions
impl UnwindSafe for QueueDeleteOptions
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)