Sign in
apache
/
iggy
/
refs/heads/test
/
.
/
server
/
src
/
streaming
/
batching
/
appendable_batch_info.rs
blob: 0bbcc9563c1fa59199dd631eedd692f4f8c85bc4 [
file
] [
log
] [
blame
]
#[
derive
(
Debug
)]
pub
struct
AppendableBatchInfo
{
pub
batch_size
:
u64
,
pub
partition_id
:
u32
,
}
impl
AppendableBatchInfo
{
pub
fn
new
(
batch_size
:
u64
,
partition_id
:
u32
)
->
Self
{
Self
{
batch_size
,
partition_id
,
}
}
}