kafka/
utils.rs

1//! Some utility structures
2//!
3//! This module is _not_ exposed to the public directly.
4
5/// A retrieved offset for a particular partition in the context of an
6/// already known topic.
7#[derive(Debug, Hash, PartialEq, Eq)]
8pub struct PartitionOffset {
9    pub offset: i64,
10    pub partition: i32,
11}