Struct metalmq_client::DeliveredMessage
source · pub struct DeliveredMessage {
pub message: Content,
pub consumer_tag: String,
pub delivery_tag: u64,
pub redelivered: bool,
pub exchange: String,
pub routing_key: String,
}
Expand description
A delivered message.
With the consumer_tag
and delivery_tag
a client can send back acknowledgements to the
server, saying that the message was successfully arrived.
Fields§
§message: Content
§consumer_tag: String
§delivery_tag: u64
§redelivered: bool
§exchange: String
§routing_key: String
Trait Implementations§
source§impl Debug for DeliveredMessage
impl Debug for DeliveredMessage
source§impl Default for DeliveredMessage
impl Default for DeliveredMessage
source§fn default() -> DeliveredMessage
fn default() -> DeliveredMessage
Returns the “default value” for a type. Read more