pub struct FieldStats {
pub field_name: String,
pub field_type: String,
pub non_null_count: usize,
pub null_count: usize,
pub unique_count: usize,
pub min_value: Option<Value>,
pub max_value: Option<Value>,
pub average_value: Option<f64>,
pub most_common_values: Vec<(Value, usize)>,
}Expand description
Field statistics
Fields§
§field_name: StringField name
field_type: StringField type
non_null_count: usizeNumber of non-null values
null_count: usizeNumber of null values
unique_count: usizeNumber of unique values
min_value: Option<Value>Minimum value (if numeric)
max_value: Option<Value>Maximum value (if numeric)
average_value: Option<f64>Average value (if numeric)
most_common_values: Vec<(Value, usize)>Most common values
Trait Implementations§
Source§impl Clone for FieldStats
impl Clone for FieldStats
Source§fn clone(&self) -> FieldStats
fn clone(&self) -> FieldStats
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 FieldStats
impl Debug for FieldStats
Source§impl<'de> Deserialize<'de> for FieldStats
impl<'de> Deserialize<'de> for FieldStats
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 FieldStats
impl RefUnwindSafe for FieldStats
impl Send for FieldStats
impl Sync for FieldStats
impl Unpin for FieldStats
impl UnwindSafe for FieldStats
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