Struct lapin_async::message::Delivery
[−]
[src]
pub struct Delivery {
pub delivery_tag: LongLongUInt,
pub exchange: String,
pub routing_key: String,
pub redelivered: bool,
pub properties: Properties,
pub data: Vec<u8>,
}Fields
delivery_tag: LongLongUInt
exchange: String
routing_key: String
redelivered: bool
properties: Properties
data: Vec<u8>
Methods
impl Delivery[src]
pub fn new(
delivery_tag: LongLongUInt,
exchange: String,
routing_key: String,
redelivered: bool
) -> Delivery[src]
delivery_tag: LongLongUInt,
exchange: String,
routing_key: String,
redelivered: bool
) -> Delivery
pub fn receive_content(&mut self, data: Vec<u8>)[src]
Trait Implementations
impl Clone for Delivery[src]
fn clone(&self) -> Delivery[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Delivery[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more