pub struct Record {
pub id: u64,
pub offset: u64,
pub length: u64,
pub schema_id: u128,
}Expand description
One index entry: a record’s identity, where it lives, and which schema interprets it.
Fields§
§id: u64Monotonic record id. Never reused; survives removal and compaction. This is the record’s identity — its position is not.
offset: u64Absolute offset of the record’s first byte. Always 8-aligned.
length: u64The record’s length in bytes, unpadded.
schema_id: u128The record’s 128-bit schema id, mirroring the one in its own header.
Trait Implementations§
impl Copy for Record
impl Eq for Record
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnsafeUnpin 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