pub struct StructureReport {
pub source: String,
pub format: FileFormat,
pub row_count: RowCountEstimate,
pub rows_sampled: usize,
pub source_exhausted: bool,
pub truncated: bool,
pub truncation_reason: Option<String>,
pub delimiter: Option<String>,
pub columns: Vec<StructureColumnSummary>,
pub warnings: Vec<String>,
}Expand description
Lightweight structural summary for a file.
This intentionally sits between quick_row_count() / infer_schema() and a
full profile: it reports shape and sampled per-column counters, not quality
scores, pattern detection, recommendations, or raw values.
Fields§
§source: StringSource identifier, currently the file path passed by the caller.
format: FileFormatDetected or explicitly provided file format.
row_count: RowCountEstimateExact or estimated row count for the source.
rows_sampled: usizeNumber of rows consumed for the structural column summaries.
source_exhausted: boolTrue when the structural pass consumed the whole source.
truncated: boolTrue when the structural pass stopped at the row sample cap.
truncation_reason: Option<String>Human-readable reason for truncation, if any.
delimiter: Option<String>CSV delimiter used for parsing, when applicable.
columns: Vec<StructureColumnSummary>Per-column structural summaries.
warnings: Vec<String>Non-fatal caveats, such as estimated row counts.
Trait Implementations§
Source§impl Clone for StructureReport
impl Clone for StructureReport
Source§fn clone(&self) -> StructureReport
fn clone(&self) -> StructureReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StructureReport
impl Debug for StructureReport
Source§impl<'de> Deserialize<'de> for StructureReport
impl<'de> Deserialize<'de> for StructureReport
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 PartialEq for StructureReport
impl PartialEq for StructureReport
Source§fn eq(&self, other: &StructureReport) -> bool
fn eq(&self, other: &StructureReport) -> bool
self and other values to be equal, and is used by ==.