Queue

Struct Queue 

Source
pub struct Queue {
Show 38 fields pub arguments: HashMap<String, String>, pub auto_delete: bool, pub consumer_capacity: u32, pub consumer_utilisation: f32, pub consumers: u16, pub durable: bool, pub exclusive: bool, pub exclusive_consumer_tag: Option<String>, pub garbage_collection: HashMap<String, u32>, pub head_message_timestamp: Option<String>, pub idle_since: String, pub memory: u32, pub message_bytes: u32, pub message_bytes_paged_out: u32, pub message_bytes_persistent: u32, pub message_bytes_ram: u32, pub message_bytes_ready: u32, pub message_bytes_unacknowledged: u32, pub message_stats: MessageStats, pub messages_paged_out: u32, pub messages_persistent: u32, pub messages_ram: u32, pub messages_ready: u32, pub messages_ready_details: HashMap<String, f32>, pub messages_ready_ram: u32, pub messages_unacknowledged: u32, pub messages_unacknowledged_details: HashMap<String, f32>, pub messages_unacknowledged_ram: u32, pub name: String, pub node: String, pub operator_policy: Option<String>, pub policy: String, pub recoverable_slaves: Option<String>, pub reductions: u32, pub reductions_details: HashMap<String, f32>, pub state: String, pub vhost: String, pub single_active_consumer_tag: Option<String>,
}

Fields§

§arguments: HashMap<String, String>§auto_delete: bool§consumer_capacity: u32§consumer_utilisation: f32§consumers: u16§durable: bool§exclusive: bool§exclusive_consumer_tag: Option<String>§garbage_collection: HashMap<String, u32>§head_message_timestamp: Option<String>§idle_since: String§memory: u32§message_bytes: u32§message_bytes_paged_out: u32§message_bytes_persistent: u32§message_bytes_ram: u32§message_bytes_ready: u32§message_bytes_unacknowledged: u32§message_stats: MessageStats§messages_paged_out: u32§messages_persistent: u32§messages_ram: u32§messages_ready: u32§messages_ready_details: HashMap<String, f32>§messages_ready_ram: u32§messages_unacknowledged: u32§messages_unacknowledged_details: HashMap<String, f32>§messages_unacknowledged_ram: u32§name: String§node: String§operator_policy: Option<String>§policy: String§recoverable_slaves: Option<String>§reductions: u32§reductions_details: HashMap<String, f32>§state: String§vhost: String§single_active_consumer_tag: Option<String>

Trait Implementations§

Source§

impl Debug for Queue

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Queue

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl Freeze for Queue

§

impl RefUnwindSafe for Queue

§

impl Send for Queue

§

impl Sync for Queue

§

impl Unpin for Queue

§

impl UnwindSafe for Queue

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,