Struct DbHeader

Source
pub struct DbHeader {
Show 20 fields pub page_size: PageSize, pub write_version: u8, pub read_version: u8, pub max_payload_fraction: u8, pub min_payload_fraction: u8, pub leaf_payload_fraction: u8, pub file_change_counter: u32, pub db_size: u32, pub first_freelist_page_no: u32, pub total_freelist_pages: u32, pub schema_cookie: u32, pub schema_format_no: u32, pub default_page_cache_size: u32, pub no_largest_root_b_tree: u32, pub db_text_encoding: TextEncoding, pub user_version: u32, pub incremental_vacuum_mode: u32, pub application_id: u32, pub version_valid_for_no: u32, pub sqlite_version_number: u32,
}

Fields§

§page_size: PageSize§write_version: u8§read_version: u8§max_payload_fraction: u8§min_payload_fraction: u8§leaf_payload_fraction: u8§file_change_counter: u32§db_size: u32§first_freelist_page_no: u32§total_freelist_pages: u32§schema_cookie: u32§schema_format_no: u32§default_page_cache_size: u32§no_largest_root_b_tree: u32§db_text_encoding: TextEncoding§user_version: u32§incremental_vacuum_mode: u32§application_id: u32§version_valid_for_no: u32§sqlite_version_number: u32

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.