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

pub struct AMQPProperties { /* fields omitted */ }

basic properties (Generated)

Methods

impl AMQPProperties[src]

pub fn with_content_type(self, value: ShortString) -> AMQPProperties[src]

Set content-type (Generated)

pub fn with_content_encoding(self, value: ShortString) -> AMQPProperties[src]

Set content-encoding (Generated)

pub fn with_headers(self, value: FieldTable) -> AMQPProperties[src]

Set headers (Generated)

pub fn with_delivery_mode(self, value: u8) -> AMQPProperties[src]

Set delivery-mode (Generated)

pub fn with_priority(self, value: u8) -> AMQPProperties[src]

Set priority (Generated)

pub fn with_correlation_id(self, value: ShortString) -> AMQPProperties[src]

Set correlation-id (Generated)

pub fn with_reply_to(self, value: ShortString) -> AMQPProperties[src]

Set reply-to (Generated)

pub fn with_expiration(self, value: ShortString) -> AMQPProperties[src]

Set expiration (Generated)

pub fn with_message_id(self, value: ShortString) -> AMQPProperties[src]

Set message-id (Generated)

pub fn with_timestamp(self, value: u64) -> AMQPProperties[src]

Set timestamp (Generated)

pub fn with_kind(self, value: ShortString) -> AMQPProperties[src]

Set type (Generated)

pub fn with_user_id(self, value: ShortString) -> AMQPProperties[src]

Set user-id (Generated)

pub fn with_app_id(self, value: ShortString) -> AMQPProperties[src]

Set app-id (Generated)

pub fn with_cluster_id(self, value: ShortString) -> AMQPProperties[src]

Set cluster-id (Generated)

pub fn content_type(&self) -> &Option<ShortString>[src]

Get content-type (Generated)

pub fn content_encoding(&self) -> &Option<ShortString>[src]

Get content-encoding (Generated)

pub fn headers(&self) -> &Option<FieldTable>[src]

Get headers (Generated)

pub fn delivery_mode(&self) -> &Option<u8>[src]

Get delivery-mode (Generated)

pub fn priority(&self) -> &Option<u8>[src]

Get priority (Generated)

pub fn correlation_id(&self) -> &Option<ShortString>[src]

Get correlation-id (Generated)

pub fn reply_to(&self) -> &Option<ShortString>[src]

Get reply-to (Generated)

pub fn expiration(&self) -> &Option<ShortString>[src]

Get expiration (Generated)

pub fn message_id(&self) -> &Option<ShortString>[src]

Get message-id (Generated)

pub fn timestamp(&self) -> &Option<u64>[src]

Get timestamp (Generated)

pub fn kind(&self) -> &Option<ShortString>[src]

Get type (Generated)

pub fn user_id(&self) -> &Option<ShortString>[src]

Get user-id (Generated)

pub fn app_id(&self) -> &Option<ShortString>[src]

Get app-id (Generated)

pub fn cluster_id(&self) -> &Option<ShortString>[src]

Get cluster-id (Generated)

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

Get the bitpask for serialization (Generated)

Trait Implementations

impl Clone for AMQPProperties[src]

impl Debug for AMQPProperties[src]

impl Default for AMQPProperties[src]

impl PartialEq<AMQPProperties> for AMQPProperties[src]

impl StructuralPartialEq for AMQPProperties[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.