pub enum TableSource {
StructureTree,
SpatialDetection,
UserGenerated,
}Expand description
Source of table data - how the table was identified/created.
This tracks the origin of table content to help downstream consumers understand the reliability and nature of the table data.
Variants§
StructureTree
Table extracted from PDF structure tree (Tagged PDF).
High confidence - explicitly marked in PDF per ISO 32000-1:2008 Section 14.8.4.3.4. Includes THead, TBody, TFoot, TR, TH, TD elements.
SpatialDetection
Table detected via spatial/heuristic analysis.
Medium confidence - detected through layout analysis, grid detection, or other spatial heuristics. May have false positives.
UserGenerated
Table created programmatically by the user/API.
High confidence - explicitly constructed for PDF generation.
Trait Implementations§
Source§impl Clone for TableSource
impl Clone for TableSource
impl Copy for TableSource
Source§impl Debug for TableSource
impl Debug for TableSource
Source§impl Default for TableSource
impl Default for TableSource
impl Eq for TableSource
Source§impl PartialEq for TableSource
impl PartialEq for TableSource
impl StructuralPartialEq for TableSource
Auto Trait Implementations§
impl Freeze for TableSource
impl RefUnwindSafe for TableSource
impl Send for TableSource
impl Sync for TableSource
impl Unpin for TableSource
impl UnsafeUnpin for TableSource
impl UnwindSafe for TableSource
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