useserde::{Deserialize, Serialize};usesuper::consume_message::ConsumeMessage;/// Result of consuming from a topic.
////// Contains the batch of messages and metadata for pagination.
#[derive(Debug, Clone, Serialize, Deserialize)]pubstructConsumeResponse{/// Consumed messages in this batch
pubmessages:Vec<ConsumeMessage>,
/// Next offset to consume from (for subsequent polls)
pubnext_offset:u64,
/// Whether more messages are available beyond this batch
pubhas_more:bool,
}