pub struct FieldStats {
pub name: String,
pub kind: FieldKind,
pub null_rate: f32,
pub cardinality: usize,
pub top_k: Vec<String>,
}Expand description
Per-field statistics collected from a sample of records.
Fields§
§name: String§kind: FieldKind§null_rate: f32Fraction of records where this field is absent or null.
cardinality: usizeApproximate number of distinct values (exact for samples ≤ 1 M).
top_k: Vec<String>Up to 10 most-common values, most frequent first.
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 (const: unstable) · 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 UnsafeUnpin 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