pub struct RecordBatch {Show 13 fields
pub base_offset: i64,
pub batch_length: i32,
pub partition_leader_epoch: i32,
pub magic: i8,
pub crc: i32,
pub attributes: Attributes,
pub last_offset_delta: i32,
pub base_timestamp: i64,
pub max_timestamp: i64,
pub producer_id: i64,
pub producer_epoch: i16,
pub base_sequence: i32,
pub records: Vec<Record>,
}
Fields§
§base_offset: i64
§batch_length: i32
§partition_leader_epoch: i32
§magic: i8
§crc: i32
§attributes: Attributes
§last_offset_delta: i32
§base_timestamp: i64
§max_timestamp: i64
§producer_id: i64
§producer_epoch: i16
§base_sequence: i32
§records: Vec<Record>
Trait Implementations§
source§impl Clone for RecordBatch
impl Clone for RecordBatch
source§fn clone(&self) -> RecordBatch
fn clone(&self) -> RecordBatch
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RecordBatch
impl Debug for RecordBatch
source§impl PartialEq for RecordBatch
impl PartialEq for RecordBatch
source§fn eq(&self, other: &RecordBatch) -> bool
fn eq(&self, other: &RecordBatch) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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