pub struct TbpHeader {
pub magic: u32,
pub version: u16,
pub flags: TbpFlags,
pub schema_id: u64,
pub row_count: u32,
pub column_count: u16,
pub reserved: u16,
pub null_bitmap_offset: u32,
pub row_index_offset: u32,
}Expand description
TBP header (32 bytes)
Fields§
§magic: u32Magic number (should be TBP_MAGIC)
version: u16Version number
flags: TbpFlagsFlags
schema_id: u64Schema ID for validation
row_count: u32Number of rows
column_count: u16Number of columns
reserved: u16Reserved
null_bitmap_offset: u32Offset to null bitmap (0 if no nulls)
row_index_offset: u32Offset to row index (0 if fixed-size rows)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TbpHeader
impl RefUnwindSafe for TbpHeader
impl Send for TbpHeader
impl Sync for TbpHeader
impl Unpin for TbpHeader
impl UnwindSafe for TbpHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more