pub struct DeliveryInfo {
pub queue: String,
pub routing_key: Option<String>,
pub exchange: Option<String>,
pub delivery_tag: Option<String>,
pub redelivered: bool,
}Expand description
Delivery information for a task
Fields§
§queue: StringSource queue
routing_key: Option<String>Routing key
exchange: Option<String>Exchange name
delivery_tag: Option<String>Delivery tag
redelivered: boolRedelivered flag
Trait Implementations§
Source§impl Clone for DeliveryInfo
impl Clone for DeliveryInfo
Source§fn clone(&self) -> DeliveryInfo
fn clone(&self) -> DeliveryInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeliveryInfo
impl Debug for DeliveryInfo
Source§impl<'de> Deserialize<'de> for DeliveryInfo
impl<'de> Deserialize<'de> for DeliveryInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeliveryInfo
impl RefUnwindSafe for DeliveryInfo
impl Send for DeliveryInfo
impl Sync for DeliveryInfo
impl Unpin for DeliveryInfo
impl UnwindSafe for DeliveryInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more