[][src]Struct lapin::protocol::queue::DeclareOk

pub struct DeclareOk {
    pub queue: ShortString,
    pub message_count: u32,
    pub consumer_count: u32,
}

declare-ok (Generated)

Fields

queue: ShortString

queue (Generated)

message_count: u32

message-count (Generated)

consumer_count: u32

consumer-count (Generated)

Methods

impl DeclareOk[src]

pub fn get_amqp_class_id(&self) -> u16[src]

Get the AMQP class id for declare-ok (Generated)

pub fn get_amqp_method_id(&self) -> u16[src]

Get the AMQP method id for declare-ok (Generated)

Trait Implementations

impl Clone for DeclareOk[src]

impl Debug for DeclareOk[src]

impl Default for DeclareOk[src]

impl PartialEq<DeclareOk> for DeclareOk[src]

impl StructuralPartialEq for DeclareOk[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.