#[non_exhaustive]pub enum FindingCode {
Show 13 variants
AllNull,
ConstantColumn,
DuplicateRows,
FutureDates,
LocaleNumbers,
MixedTypes,
NullHeavy,
PartialScan,
RaggedRows,
RecordsSkipped,
SensitivePattern,
TemporalOrderViolations,
UnterminatedQuote,
}Expand description
Stable identifier for the rule a finding came from.
Part of the contract: a consumer matches on these, so they do not change when the prose does. Declared in alphabetical order, which is the order findings of equal severity sort in.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AllNull
Every value of a column is null.
ConstantColumn
Every non-null value of a column is the same one.
DuplicateRows
The source holds exact duplicate rows.
FutureDates
Date values lie after the time the report was produced.
LocaleNumbers
At least half of a column’s text values are numbers written with a decimal comma or digit-group separators, which no numeric statistic includes.
MixedTypes
A column’s values split across lexical types.
NullHeavy
A column’s null share is at or above the policy threshold.
PartialScan
The scan stopped early or sampled rows.
RaggedRows
Rows had a different field count from the header and were recovered.
RecordsSkipped
Errors were counted while reading the source.
SensitivePattern
A column matches a pattern for personal or financial data.
TemporalOrderViolations
Start dates fall after their paired end dates.
UnterminatedQuote
A CSV source ended inside a quoted field.
Implementations§
Trait Implementations§
Source§impl Clone for FindingCode
impl Clone for FindingCode
impl Copy for FindingCode
Source§impl Debug for FindingCode
impl Debug for FindingCode
Source§impl Display for FindingCode
impl Display for FindingCode
impl Eq for FindingCode
Source§impl Hash for FindingCode
impl Hash for FindingCode
Source§impl Ord for FindingCode
impl Ord for FindingCode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for FindingCode
impl PartialEq for FindingCode
Source§impl PartialOrd for FindingCode
impl PartialOrd for FindingCode
Source§impl Serialize for FindingCode
impl Serialize for FindingCode
impl StructuralPartialEq for FindingCode
Auto Trait Implementations§
impl Freeze for FindingCode
impl RefUnwindSafe for FindingCode
impl Send for FindingCode
impl Sync for FindingCode
impl Unpin for FindingCode
impl UnsafeUnpin for FindingCode
impl UnwindSafe for FindingCode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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
key and return true if they are equal.