pub struct TableStatistics {
pub row_count: u64,
pub avg_row_size: u32,
pub table_size: u64,
pub index_count: u32,
}Expand description
Table statistics for cost estimation
Fields§
§row_count: u64Number of rows in table
avg_row_size: u32Average row size in bytes
table_size: u64Total table size in bytes
index_count: u32Number of indexes
Trait Implementations§
Source§impl Clone for TableStatistics
impl Clone for TableStatistics
Source§fn clone(&self) -> TableStatistics
fn clone(&self) -> TableStatistics
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 moreAuto Trait Implementations§
impl Freeze for TableStatistics
impl RefUnwindSafe for TableStatistics
impl Send for TableStatistics
impl Sync for TableStatistics
impl Unpin for TableStatistics
impl UnsafeUnpin for TableStatistics
impl UnwindSafe for TableStatistics
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