pub enum SummaryStatistics {
Binary {
n: usize,
pos: usize,
},
Continuous {
min: f64,
max: f64,
mean: f64,
median: f64,
variance: f64,
},
Categorical {
min: u8,
max: u8,
mode: Vec<u8>,
},
Count {
min: u32,
max: u32,
median: f64,
mean: f64,
mode: Vec<u32>,
},
None,
}Variants§
Trait Implementations§
Source§impl Clone for SummaryStatistics
impl Clone for SummaryStatistics
Source§fn clone(&self) -> SummaryStatistics
fn clone(&self) -> SummaryStatistics
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 SummaryStatistics
impl Debug for SummaryStatistics
Source§impl<'de> Deserialize<'de> for SummaryStatistics
impl<'de> Deserialize<'de> for SummaryStatistics
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
Source§impl PartialEq for SummaryStatistics
impl PartialEq for SummaryStatistics
Source§impl Serialize for SummaryStatistics
impl Serialize for SummaryStatistics
impl StructuralPartialEq for SummaryStatistics
Auto Trait Implementations§
impl Freeze for SummaryStatistics
impl RefUnwindSafe for SummaryStatistics
impl Send for SummaryStatistics
impl Sync for SummaryStatistics
impl Unpin for SummaryStatistics
impl UnwindSafe for SummaryStatistics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more