pub struct DeliveryInfo {
pub exchange: String,
pub routing_key: String,
}
Expand description
Additional message delivery information. This is a mapping containing the exchange and routing key used to deliver this task. Availability of keys in this dict depends on the message broker used.
Fields§
§exchange: String
§routing_key: String
Implementations§
Source§impl DeliveryInfo
impl DeliveryInfo
pub fn for_redis_default() -> Self
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 PartialEq for DeliveryInfo
impl PartialEq for DeliveryInfo
Source§impl Serialize for DeliveryInfo
impl Serialize for DeliveryInfo
impl Eq for DeliveryInfo
impl StructuralPartialEq for DeliveryInfo
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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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