pub struct RecordBatch {
pub base_offset: i64,
pub partition_leader_epoch: i32,
pub last_offset_delta: i32,
pub first_timestamp: i64,
pub max_timestamp: i64,
pub producer_id: i64,
pub producer_epoch: i16,
pub base_sequence: i32,
pub records: ControlBatchOrRecords,
pub compression: RecordBatchCompression,
pub is_transactional: bool,
pub timestamp_type: RecordBatchTimestampType,
}Expand description
Fields§
§base_offset: i64§partition_leader_epoch: i32§last_offset_delta: i32§first_timestamp: i64§max_timestamp: i64§producer_id: i64§producer_epoch: i16§base_sequence: i32§records: ControlBatchOrRecords§compression: RecordBatchCompression§is_transactional: bool§timestamp_type: RecordBatchTimestampTypeTrait Implementations§
Source§impl Debug for RecordBatch
impl Debug for RecordBatch
Source§impl PartialEq for RecordBatch
impl PartialEq for RecordBatch
Source§impl<R> ReadType<R> for RecordBatchwhere
R: Read,
impl<R> ReadType<R> for RecordBatchwhere
R: Read,
Source§impl<W> WriteType<W> for RecordBatchwhere
W: Write,
impl<W> WriteType<W> for RecordBatchwhere
W: Write,
impl Eq for RecordBatch
impl StructuralPartialEq for RecordBatch
Auto Trait Implementations§
impl Freeze for RecordBatch
impl RefUnwindSafe for RecordBatch
impl Send for RecordBatch
impl Sync for RecordBatch
impl Unpin for RecordBatch
impl UnwindSafe for RecordBatch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more