pub struct DatabaseSizeComposition {Show 16 fields
pub page_size_bytes: u64,
pub page_count: u64,
pub freelist_pages: u64,
pub database_bytes: u64,
pub freelist_bytes: u64,
pub accounted_bytes: u64,
pub unaccounted_bytes: u64,
pub row_table_bytes: u64,
pub index_bytes: u64,
pub full_text_bytes: u64,
pub vector_bytes: u64,
pub mixed_embedding_bytes: u64,
pub internal_bytes: u64,
pub objects: Vec<DatabaseObjectSize>,
pub objects_truncated: bool,
pub objects_omitted: usize,
}Expand description
Page-accounted file-size composition from SQLite’s read-only dbstat
virtual table in aggregate mode.
Fields§
§page_size_bytes: u64§page_count: u64§freelist_pages: u64§database_bytes: u64§freelist_bytes: u64§accounted_bytes: u64§unaccounted_bytes: u64§row_table_bytes: u64§index_bytes: u64§full_text_bytes: u64§vector_bytes: u64§mixed_embedding_bytes: u64§internal_bytes: u64§objects: Vec<DatabaseObjectSize>§objects_truncated: bool§objects_omitted: usizeTrait Implementations§
Source§impl Clone for DatabaseSizeComposition
impl Clone for DatabaseSizeComposition
Source§impl Debug for DatabaseSizeComposition
impl Debug for DatabaseSizeComposition
impl Eq for DatabaseSizeComposition
Source§impl PartialEq for DatabaseSizeComposition
impl PartialEq for DatabaseSizeComposition
Source§impl Serialize for DatabaseSizeComposition
impl Serialize for DatabaseSizeComposition
impl StructuralPartialEq for DatabaseSizeComposition
Auto Trait Implementations§
impl Freeze for DatabaseSizeComposition
impl RefUnwindSafe for DatabaseSizeComposition
impl Send for DatabaseSizeComposition
impl Sync for DatabaseSizeComposition
impl Unpin for DatabaseSizeComposition
impl UnsafeUnpin for DatabaseSizeComposition
impl UnwindSafe for DatabaseSizeComposition
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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