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: BasicProperties,
pub data: Vec<u8>,
}Fields
delivery_tag: LongLongUInt
exchange: String
routing_key: String
redelivered: bool
properties: BasicProperties
data: Vec<u8>
Methods
impl Delivery[src]
impl Deliverypub fn new(
delivery_tag: LongLongUInt,
exchange: String,
routing_key: String,
redelivered: bool
) -> Delivery[src]
pub fn new(
delivery_tag: LongLongUInt,
exchange: String,
routing_key: String,
redelivered: bool
) -> Deliverypub fn receive_content(&mut self, data: Vec<u8>)[src]
pub fn receive_content(&mut self, data: Vec<u8>)Trait Implementations
impl Clone for Delivery[src]
impl Clone for Deliveryfn clone(&self) -> Delivery[src]
fn clone(&self) -> DeliveryReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Delivery[src]
impl Debug for Deliveryfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Delivery[src]
impl PartialEq for Delivery