[][src]Struct amq_protocol::protocol::exchange::Declare

pub struct Declare {
    pub exchange: ShortString,
    pub kind: ShortString,
    pub passive: Boolean,
    pub durable: Boolean,
    pub auto_delete: Boolean,
    pub internal: Boolean,
    pub nowait: Boolean,
    pub arguments: FieldTable,
}

declare (Generated)

Fields

exchange: ShortString

exchange (Generated)

kind: ShortString

type (Generated)

passive: Boolean

passive (Generated)

durable: Boolean

durable (Generated)

auto_delete: Boolean

auto-delete (Generated)

internal: Boolean

internal (Generated)

nowait: Boolean

nowait (Generated)

arguments: FieldTable

arguments (Generated)

Methods

impl Declare[src]

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

Get the AMQP class id for declare (Generated)

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

Get the AMQP method id for declare (Generated)

Trait Implementations

impl Clone for Declare[src]

impl Debug for Declare[src]

impl Default for Declare[src]

impl PartialEq<Declare> for Declare[src]

impl StructuralPartialEq for Declare[src]

Auto Trait Implementations

impl RefUnwindSafe for Declare

impl Send for Declare

impl Sync for Declare

impl Unpin for Declare

impl UnwindSafe for Declare

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.