pub struct TableStats {
pub row_count: u64,
pub columns: HashMap<String, ColumnStats>,
}Expand description
Statistics for a table/label.
Fields§
§row_count: u64Total number of rows.
columns: HashMap<String, ColumnStats>Column statistics.
Implementations§
Source§impl TableStats
impl TableStats
Sourcepub fn with_column(self, name: &str, stats: ColumnStats) -> Self
pub fn with_column(self, name: &str, stats: ColumnStats) -> Self
Adds column statistics.
Trait Implementations§
Source§impl Clone for TableStats
impl Clone for TableStats
Source§fn clone(&self) -> TableStats
fn clone(&self) -> TableStats
Returns a duplicate of the value. Read more
1.0.0 · 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 TableStats
impl RefUnwindSafe for TableStats
impl Send for TableStats
impl Sync for TableStats
impl Unpin for TableStats
impl UnwindSafe for TableStats
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