Struct kafka::utils::ProduceMessage [] [src]

pub struct ProduceMessage {
    pub topic: String,
    pub message: Vec<u8>,
}

Fields

topic: String message: Vec<u8>

Trait Implementations

impl Debug for ProduceMessage
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for ProduceMessage
[src]

fn clone(&self) -> ProduceMessage

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more