pub struct IndexMeta {
pub root_page_id: u32,
pub page_count: u32,
pub key_schema_version: u32,
pub val_schema_version: u32,
pub index_schema_version: u32,
}Expand description
The decoded metadata from page 0.
Fields§
§root_page_id: u32§page_count: u32§key_schema_version: u32§val_schema_version: u32§index_schema_version: u32For secondary index files (.sidx): the schema version stored when
the index was last migrated via migrate_index.
Always 0 in primary index files (.idx).
Stored at bytes 28–31 of the metadata page; zero in older files
(backward-compatible default).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IndexMeta
impl RefUnwindSafe for IndexMeta
impl Send for IndexMeta
impl Sync for IndexMeta
impl Unpin for IndexMeta
impl UnsafeUnpin for IndexMeta
impl UnwindSafe for IndexMeta
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