Struct lapin_async::queue::Queue

source ·
pub struct Queue {
    pub name: String,
    pub bindings: HashMap<(String, String), Binding>,
    pub consumers: HashMap<String, Consumer>,
    pub message_count: u32,
    pub consumer_count: u32,
    pub get_messages: VecDeque<BasicGetMessage>,
    pub current_get_message: Option<BasicGetMessage>,
}

Fields

name: Stringbindings: HashMap<(String, String), Binding>consumers: HashMap<String, Consumer>message_count: u32consumer_count: u32get_messages: VecDeque<BasicGetMessage>current_get_message: Option<BasicGetMessage>

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.