pub struct RunHeader {Show 20 fields
pub magic: [u8; 8],
pub format_version: u16,
pub header_layout_version: u16,
pub run_id: u128,
pub content_hash: [u8; 32],
pub schema_id: u64,
pub epoch_created: u64,
pub level: u8,
pub flags: u8,
pub sort_key_column_id: u16,
pub row_count: u64,
pub min_row_id: u64,
pub max_row_id: u64,
pub column_count: u64,
pub column_dir_offset: u64,
pub index_trailer_offset: u64,
pub encryption_descriptor_offset: u64,
pub footer_offset: u64,
pub encrypted_stats_offset: u64,
pub encrypted_stats_len: u64,
}Fields§
§magic: [u8; 8]§format_version: u16§header_layout_version: u16§run_id: u128§content_hash: [u8; 32]§schema_id: u64§epoch_created: u64§level: u8§flags: u8§sort_key_column_id: u16§row_count: u64§min_row_id: u64§max_row_id: u64§column_count: u64§column_dir_offset: u64§index_trailer_offset: u64§encryption_descriptor_offset: u64§encrypted_stats_offset: u64Offset/length of the AES-256-GCM-encrypted per-page min/max envelope for encrypted columns (0/0 = absent; always 0 for plaintext runs and pre-v2 files, whose zero header padding deserializes to 0 here).
encrypted_stats_len: u64Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunHeader
impl<'de> Deserialize<'de> for RunHeader
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RunHeader
impl RefUnwindSafe for RunHeader
impl Send for RunHeader
impl Sync for RunHeader
impl Unpin for RunHeader
impl UnsafeUnpin for RunHeader
impl UnwindSafe for RunHeader
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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