usesuper::produce_request::ProduceRequest;/// A BatchCoordinate represents the metadata of a record inside of a file.
#[derive(Debug, Clone)]pubstructBatchCoordinate{/// The topic for this record.
pubtopic: String,
/// The partition for this record.
pubpartition:Vec<u8>,
/// The base_offset inside of the file at which this record exists.
pubbase_offset:u64,
/// The offset at which this record exists.
puboffset:u64,
/// The size in bytes of this record.
pubsize:u32,
/// The original request for retrieving the BatchCoordinate.
pubrequest: ProduceRequest,
}