pub struct Record {
pub len: i32,
pub attributes: i8,
pub timestamp_delta: i64,
pub offset_delta: i32,
pub key_len: i32,
pub key: Option<Bytes>,
pub value_len: i32,
pub value: Option<Bytes>,
pub headers: Vec<Header>,
}
Fields§
§len: i32
§attributes: i8
bit 0~7: unused
timestamp_delta: i64
§offset_delta: i32
§key_len: i32
§key: Option<Bytes>
§value_len: i32
§value: Option<Bytes>
§headers: Vec<Header>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
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