[][src]Struct lapin::protocol::basic::GetOk

pub struct GetOk {
    pub delivery_tag: u64,
    pub redelivered: bool,
    pub exchange: ShortString,
    pub routing_key: ShortString,
    pub message_count: u32,
}

get-ok (Generated)

Fields

delivery_tag: u64

delivery-tag (Generated)

redelivered: bool

redelivered (Generated)

exchange: ShortString

exchange (Generated)

routing_key: ShortString

routing-key (Generated)

message_count: u32

message-count (Generated)

Methods

impl GetOk[src]

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

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

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

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

Trait Implementations

impl Clone for GetOk[src]

impl Debug for GetOk[src]

impl Default for GetOk[src]

impl PartialEq<GetOk> for GetOk[src]

impl StructuralPartialEq for GetOk[src]

Auto Trait Implementations

impl RefUnwindSafe for GetOk

impl Send for GetOk

impl Sync for GetOk

impl Unpin for GetOk

impl UnwindSafe for GetOk

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.