pub struct DatasetStats {
pub row_count: usize,
pub column_count: usize,
pub total_size_bytes: u64,
pub average_row_size_bytes: f64,
pub min_row_size_bytes: u64,
pub max_row_size_bytes: u64,
pub field_stats: HashMap<String, FieldStats>,
pub generated_at: DateTime<Utc>,
}Expand description
Dataset statistics
Fields§
§row_count: usizeTotal number of rows
column_count: usizeNumber of columns/fields
total_size_bytes: u64Total size in bytes
average_row_size_bytes: f64Average row size in bytes
min_row_size_bytes: u64Smallest row size in bytes
max_row_size_bytes: u64Largest row size in bytes
field_stats: HashMap<String, FieldStats>Field name statistics
generated_at: DateTime<Utc>Generation timestamp
Trait Implementations§
Source§impl Clone for DatasetStats
impl Clone for DatasetStats
Source§fn clone(&self) -> DatasetStats
fn clone(&self) -> DatasetStats
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 moreSource§impl Debug for DatasetStats
impl Debug for DatasetStats
Source§impl<'de> Deserialize<'de> for DatasetStats
impl<'de> Deserialize<'de> for DatasetStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DatasetStats
impl RefUnwindSafe for DatasetStats
impl Send for DatasetStats
impl Sync for DatasetStats
impl Unpin for DatasetStats
impl UnwindSafe for DatasetStats
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