pub struct ColumnProfile {
pub name: String,
pub data_type: DataType,
pub null_count: usize,
pub total_count: usize,
pub unique_count: Option<usize>,
pub stats: ColumnStats,
pub patterns: Option<Vec<Pattern>>,
}Expand description
Profiling statistics for a single column.
Fields§
§name: String§data_type: DataType§null_count: usize§total_count: usize§unique_count: Option<usize>§stats: ColumnStats§patterns: Option<Vec<Pattern>>Detected patterns, or None when pattern detection did not run.
None and Some(vec![]) are not interchangeable: the former means the
column was never scanned, the latter that it was scanned and nothing
matched. Consumers that gate on sensitivity – redaction, agent-facing
output – must treat None as “unknown”, never as “no sensitive data”.
Trait Implementations§
Source§impl Clone for ColumnProfile
impl Clone for ColumnProfile
Source§fn clone(&self) -> ColumnProfile
fn clone(&self) -> ColumnProfile
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 ColumnProfile
impl Debug for ColumnProfile
Source§impl<'de> Deserialize<'de> for ColumnProfile
impl<'de> Deserialize<'de> for ColumnProfile
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
Auto Trait Implementations§
impl Freeze for ColumnProfile
impl RefUnwindSafe for ColumnProfile
impl Send for ColumnProfile
impl Sync for ColumnProfile
impl Unpin for ColumnProfile
impl UnsafeUnpin for ColumnProfile
impl UnwindSafe for ColumnProfile
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