pub struct StreamingStatistics {
pub count: usize,
pub null_count: usize,
pub min: f64,
pub max: f64,
/* private fields */
}Fields§
§count: usize§null_count: usize§min: f64§max: f64Implementations§
Source§impl StreamingStatistics
impl StreamingStatistics
pub fn new() -> Self
pub fn with_sample_capacity(max_sample: usize) -> Self
pub fn update(&mut self, value: &str)
pub fn merge(&mut self, other: &StreamingStatistics)
pub fn mean(&self) -> f64
pub fn variance(&self) -> f64
pub fn std_dev(&self) -> f64
pub fn unique_count(&self) -> usize
pub fn unique_count_is_approximate(&self) -> bool
pub fn sample_values(&self) -> &[String]
pub fn text_length_stats(&self) -> TextLengthStats
pub fn reduce_sample_capacity(&mut self)
pub fn memory_usage_bytes(&self) -> usize
Trait Implementations§
Source§impl Clone for StreamingStatistics
impl Clone for StreamingStatistics
Source§fn clone(&self) -> StreamingStatistics
fn clone(&self) -> StreamingStatistics
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 StreamingStatistics
impl Debug for StreamingStatistics
Auto Trait Implementations§
impl Freeze for StreamingStatistics
impl RefUnwindSafe for StreamingStatistics
impl Send for StreamingStatistics
impl Sync for StreamingStatistics
impl Unpin for StreamingStatistics
impl UnsafeUnpin for StreamingStatistics
impl UnwindSafe for StreamingStatistics
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