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 all() -> Vec<MetricPack>
pub fn all() -> Vec<MetricPack>
All available metric packs.
Sourcepub fn include_statistics(packs: Option<&[MetricPack]>) -> bool
pub fn include_statistics(packs: Option<&[MetricPack]>) -> bool
Whether statistics should be computed given the selected packs.
Sourcepub fn include_patterns(packs: Option<&[MetricPack]>) -> bool
pub fn include_patterns(packs: Option<&[MetricPack]>) -> bool
Whether pattern detection should run given the selected packs.
Sourcepub fn include_quality(packs: Option<&[MetricPack]>) -> bool
pub fn include_quality(packs: Option<&[MetricPack]>) -> 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<MetricPack, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetricPack, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
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§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
Compare self to
key and return true if they are equal.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>
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 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.