1#![allow(clippy::derive_partial_eq_without_eq)]
2tonic::include_proto!("hstream.server");
3
4use std::fmt;
5
6impl fmt::Display for RecordId {
7 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
8 write!(
9 f,
10 "{}-{}-{}",
11 self.shard_id, self.batch_id, self.batch_index
12 )
13 }
14}