Struct crosstown_bus::QueueProperties
source · pub struct QueueProperties {
pub auto_delete: bool,
pub durable: bool,
pub use_dead_letter: bool,
pub consume_queue_name: Option<String>,
}
Fields§
§auto_delete: bool
queue will be deleted from RabbitMQ when the last consumer disconnects
durable: bool
if set to true, queue will survive when server restarts
use_dead_letter: bool
§consume_queue_name: Option<String>
Trait Implementations§
source§impl Default for QueueProperties
impl Default for QueueProperties
source§fn default() -> QueueProperties
fn default() -> QueueProperties
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QueueProperties
impl RefUnwindSafe for QueueProperties
impl Send for QueueProperties
impl Sync for QueueProperties
impl Unpin for QueueProperties
impl UnwindSafe for QueueProperties
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