pub enum MetricPack {
Schema,
Statistics,
Patterns,
Quality,
}Expand description
High-level categories of analysis that can be selectively enabled.
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
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 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>,
Deserialize this value from the given Serde deserializer. Read more
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§fn eq(&self, other: &MetricPack) -> bool
fn eq(&self, other: &MetricPack) -> bool
Tests for
self and other values to be equal, and is used by ==.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
Mutably borrows from an owned value. Read more