pub enum MetricPack {
Schema,
Statistics,
Patterns,
Quality,
}Expand description
High-level categories of analysis that can be selectively enabled.
When no packs are specified (None), all categories are computed
(backward-compatible default). Passing a subset skips expensive
computation the caller doesn’t need.
Schema is always included regardless of selection — it provides the
baseline column names, types, and null counts.
Variants§
Schema
Column names, data types, null counts — always included.
Statistics
Numeric stats (min/max/mean/median/std_dev/quartiles), text lengths.
Patterns
Regex pattern detection (email, phone, UUID, etc.).
Quality
ISO 25012 quality dimensions (completeness, consistency, etc.).
Implementations§
Source§impl MetricPack
impl MetricPack
Sourcepub fn include_statistics(packs: Option<&[Self]>) -> bool
pub fn include_statistics(packs: Option<&[Self]>) -> bool
Whether statistics should be computed given the selected packs.
Sourcepub fn include_patterns(packs: Option<&[Self]>) -> bool
pub fn include_patterns(packs: Option<&[Self]>) -> bool
Whether pattern detection should run given the selected packs.
Sourcepub fn include_quality(packs: Option<&[Self]>) -> bool
pub fn include_quality(packs: Option<&[Self]>) -> bool
Whether quality metrics should be computed given the selected packs.
Trait Implementations§
Source§impl Clone for MetricPack
impl Clone for MetricPack
Source§fn clone(&self) -> MetricPack
fn clone(&self) -> MetricPack
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MetricPack
impl Debug for MetricPack
Source§impl<'de> Deserialize<'de> for MetricPack
impl<'de> Deserialize<'de> for MetricPack
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>,
Source§impl Display for MetricPack
impl Display for MetricPack
Source§impl FromStr for MetricPack
impl FromStr for MetricPack
Source§impl Hash for MetricPack
impl Hash for MetricPack
Source§impl PartialEq for MetricPack
impl PartialEq for MetricPack
Source§impl Serialize for MetricPack
impl Serialize for MetricPack
impl Copy for MetricPack
impl Eq for MetricPack
impl StructuralPartialEq for MetricPack
Auto Trait Implementations§
impl Freeze for MetricPack
impl RefUnwindSafe for MetricPack
impl Send for MetricPack
impl Sync for MetricPack
impl Unpin for MetricPack
impl UnsafeUnpin for MetricPack
impl UnwindSafe for MetricPack
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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 moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.