pub struct DbHeader {
Show 20 fields pub page_size: u32, pub file_format_write_version: u8, pub file_format_read_version: u8, pub max_embedded_payload_frac: u8, pub min_embedded_payload_frac: u8, pub leaf_payload_frac: u8, pub file_change_counter: u32, pub db_size: u32, pub page_num_first_freelist: u32, pub page_count_freelist: u32, pub schema_cookie: u32, pub schema_format_number: u32, pub default_page_cache_size: u32, pub page_num_largest_root_btree: u32, pub text_encoding: TextEncoding, pub user_version: u32, pub vaccum_mode: u32, pub app_id: u32, pub version_valid_for: u32, pub sqlite_version: u32,
}

Fields

page_size: u32

Page size of the database While it should be of type u16, it uses u32 to support the special 64kib page size.

file_format_write_version: u8file_format_read_version: u8max_embedded_payload_frac: u8min_embedded_payload_frac: u8leaf_payload_frac: u8file_change_counter: u32db_size: u32page_num_first_freelist: u32page_count_freelist: u32schema_cookie: u32schema_format_number: u32default_page_cache_size: u32page_num_largest_root_btree: u32text_encoding: TextEncodinguser_version: u32vaccum_mode: u32app_id: u32version_valid_for: u32sqlite_version: u32

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.