pub struct TextStats {
pub min_length: usize,
pub max_length: usize,
pub avg_length: f64,
pub most_frequent: Option<Vec<FrequencyItem>>,
pub least_frequent: Option<Vec<FrequencyItem>>,
}Expand description
Statistics for text/string columns.
Fields§
§min_length: usize§max_length: usize§avg_length: f64§most_frequent: Option<Vec<FrequencyItem>>§least_frequent: Option<Vec<FrequencyItem>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TextStats
impl<'de> Deserialize<'de> for TextStats
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 TextStats
impl RefUnwindSafe for TextStats
impl Send for TextStats
impl Sync for TextStats
impl Unpin for TextStats
impl UnsafeUnpin for TextStats
impl UnwindSafe for TextStats
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