Struct rdkafka::consumer::Message [] [src]

pub struct Message<'a> {
    pub payload: Option<&'a [u8]>,
    pub key: Option<&'a [u8]>,
    pub partition: i32,
    pub offset: i64,
    pub message_n: *mut rd_kafka_message_s,
}

Fields

Trait Implementations

impl<'a> Debug for Message<'a>
[src]

Formats the value using the given formatter.

impl<'a> Drop for Message<'a>
[src]

A method called when the value goes out of scope. Read more