pub struct QueueOptions {
pub auto_delete: bool,
pub durable: bool,
pub exclusive: bool,
pub no_create: bool,
/* private fields */
}Fields§
§auto_delete: bool§durable: bool§exclusive: bool§no_create: boolImplementations§
Source§impl QueueOptions
impl QueueOptions
pub fn new() -> Self
pub fn build() -> Self
pub fn auto_delete(self, auto_delete: bool) -> Self
pub fn durable(self, durable: bool) -> Self
pub fn exclusive(self, exclusive: bool) -> Self
pub fn no_create(self, no_create: bool) -> Self
pub fn argument(self, key: String, value: String) -> Result<Self, AppError>
pub fn arguments( self, arguments: &HashMap<String, String>, ) -> Result<Self, AppError>
Trait Implementations§
Source§impl Clone for QueueOptions
impl Clone for QueueOptions
Source§fn clone(&self) -> QueueOptions
fn clone(&self) -> QueueOptions
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 QueueOptions
impl Debug for QueueOptions
Source§impl Default for QueueOptions
impl Default for QueueOptions
Source§fn default() -> QueueOptions
fn default() -> QueueOptions
Returns the “default value” for a type. Read more
Source§impl Hash for QueueOptions
impl Hash for QueueOptions
Source§impl Into<FieldTable> for QueueOptions
impl Into<FieldTable> for QueueOptions
Source§fn into(self) -> FieldTable
fn into(self) -> FieldTable
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for QueueOptions
impl PartialEq for QueueOptions
impl Eq for QueueOptions
impl StructuralPartialEq for QueueOptions
Auto Trait Implementations§
impl Freeze for QueueOptions
impl RefUnwindSafe for QueueOptions
impl Send for QueueOptions
impl Sync for QueueOptions
impl Unpin for QueueOptions
impl UnsafeUnpin for QueueOptions
impl UnwindSafe for QueueOptions
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