pub struct MessageProperties {
pub correlation_id: String,
pub content_type: String,
pub content_encoding: String,
pub reply_to: Option<String>,
pub delivery_info: Option<DeliveryInfo>,
}
Expand description
Message meta data pertaining to the broker.
Fields§
§correlation_id: String
A unique ID associated with the task, usually the same as MessageHeaders::id
.
content_type: String
The MIME type of the body.
content_encoding: String
The encoding of the body.
reply_to: Option<String>
Used by the RPC backend when failures are reported by the parent process.
delivery_info: Option<DeliveryInfo>
Additional message delivery information.
Trait Implementations§
Source§impl Clone for MessageProperties
impl Clone for MessageProperties
Source§fn clone(&self) -> MessageProperties
fn clone(&self) -> MessageProperties
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 MessageProperties
impl Debug for MessageProperties
Source§impl PartialEq for MessageProperties
impl PartialEq for MessageProperties
impl Eq for MessageProperties
impl StructuralPartialEq for MessageProperties
Auto Trait Implementations§
impl Freeze for MessageProperties
impl RefUnwindSafe for MessageProperties
impl Send for MessageProperties
impl Sync for MessageProperties
impl Unpin for MessageProperties
impl UnwindSafe for MessageProperties
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