pub struct FieldComparisonMetrics {
pub lz_matches: u64,
pub entropy: f64,
}Expand description
Represents the statistics for the individual fields which were used to create the individual combined group or split.
i.e. This is the info for the fields that were used to create the final combined group or split.
This is useful when dumping extra info about the fields.
Fields§
§lz_matches: u64LZ compression matches in the field
entropy: f64Shannon entropy in bits
Trait Implementations§
Source§impl Clone for FieldComparisonMetrics
impl Clone for FieldComparisonMetrics
Source§fn clone(&self) -> FieldComparisonMetrics
fn clone(&self) -> FieldComparisonMetrics
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 FieldComparisonMetrics
impl Debug for FieldComparisonMetrics
Source§impl Default for FieldComparisonMetrics
impl Default for FieldComparisonMetrics
Source§fn default() -> FieldComparisonMetrics
fn default() -> FieldComparisonMetrics
Returns the “default value” for a type. Read more
Source§impl From<FieldMetrics> for FieldComparisonMetrics
Converts a FieldMetrics object into a FieldComparisonMetrics object.
impl From<FieldMetrics> for FieldComparisonMetrics
Converts a FieldMetrics object into a FieldComparisonMetrics object.
Source§fn from(value: FieldMetrics) -> Self
fn from(value: FieldMetrics) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FieldComparisonMetrics
impl PartialEq for FieldComparisonMetrics
impl Copy for FieldComparisonMetrics
impl StructuralPartialEq for FieldComparisonMetrics
Auto Trait Implementations§
impl Freeze for FieldComparisonMetrics
impl RefUnwindSafe for FieldComparisonMetrics
impl Send for FieldComparisonMetrics
impl Sync for FieldComparisonMetrics
impl Unpin for FieldComparisonMetrics
impl UnwindSafe for FieldComparisonMetrics
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