[][src]Struct amiquip::AmqpProperties

pub struct AmqpProperties { /* fields omitted */ }

basic properties (Generated)

Methods

impl AMQPProperties[src]

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

Set content-type (Generated)

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

Set content-encoding (Generated)

pub fn with_headers(self, value: BTreeMap<String, AMQPValue>) -> 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: String) -> AMQPProperties[src]

Set correlation-id (Generated)

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

Set reply-to (Generated)

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

Set expiration (Generated)

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

Set message-id (Generated)

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

Set timestamp (Generated)

pub fn with_type_(self, value: String) -> AMQPProperties[src]

Set type (Generated)

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

Set user-id (Generated)

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

Set app-id (Generated)

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

Set cluster-id (Generated)

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

Get content-type (Generated)

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

Get content-encoding (Generated)

pub fn headers(&self) -> &Option<BTreeMap<String, AMQPValue>>[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<String>[src]

Get correlation-id (Generated)

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

Get reply-to (Generated)

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

Get expiration (Generated)

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

Get message-id (Generated)

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

Get timestamp (Generated)

pub fn type_(&self) -> &Option<String>[src]

Get type (Generated)

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

Get user-id (Generated)

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

Get app-id (Generated)

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

Get cluster-id (Generated)

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

Get the bitpask for serialization (Generated)

Trait Implementations

impl Debug for AMQPProperties[src]

impl Clone for AMQPProperties[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<AMQPProperties> for AMQPProperties[src]

impl Default for AMQPProperties[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.