pub struct IndexHeader {
pub version: u32,
pub entry_count: u32,
pub data_size: u64,
pub checksum: u32,
}Expand description
Index.db file header
Fields§
§version: u32Format version identifier
entry_count: u32Number of index entries
data_size: u64Size of the index data section
checksum: u32Checksum for validation
Trait Implementations§
Source§impl Clone for IndexHeader
impl Clone for IndexHeader
Source§fn clone(&self) -> IndexHeader
fn clone(&self) -> IndexHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexHeader
impl Debug for IndexHeader
Source§impl<'de> Deserialize<'de> for IndexHeader
impl<'de> Deserialize<'de> for IndexHeader
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 IndexHeader
impl RefUnwindSafe for IndexHeader
impl Send for IndexHeader
impl Sync for IndexHeader
impl Unpin for IndexHeader
impl UnsafeUnpin for IndexHeader
impl UnwindSafe for IndexHeader
Blanket Implementations§
impl<T> Allocation for T
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