[][src]Struct amqp_codec::protocol::Disposition

pub struct Disposition {
    pub role: Role,
    pub first: DeliveryNumber,
    pub last: Option<DeliveryNumber>,
    pub settled: bool,
    pub state: Option<DeliveryState>,
    pub batchable: bool,
}

Fields

role: Rolefirst: DeliveryNumberlast: Option<DeliveryNumber>settled: boolstate: Option<DeliveryState>batchable: bool

Methods

impl Disposition[src]

pub fn role(&self) -> Role[src]

pub fn first(&self) -> DeliveryNumber[src]

pub fn last(&self) -> Option<DeliveryNumber>[src]

pub fn settled(&self) -> bool[src]

pub fn state(&self) -> Option<&DeliveryState>[src]

pub fn batchable(&self) -> bool[src]

Trait Implementations

impl Encode for Disposition[src]

impl From<Disposition> for Frame[src]

impl Clone for Disposition[src]

impl PartialEq<Disposition> for Disposition[src]

impl Debug for Disposition[src]

impl StructuralPartialEq for Disposition[src]

Auto Trait Implementations

Blanket Implementations

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 = !

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.

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

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,