pub struct TableExtractionResult {
pub markdown: String,
pub fallback_reason: Option<String>,
}Expand description
Markdown for one extracted table plus a diagnostic flag describing which path produced it.
fallback_reason is None when the TSR-hybrid path produced the
markdown directly; Some(<short identifier>) when stage 1’s quality
check fired and either in-place expansion or the heuristic fallback
produced the output. The reason string is stable enough to use as a
metric label (e.g. multi_row_in_cell_expanded, phantom_empty_row).
Fields§
§markdown: String§fallback_reason: Option<String>Trait Implementations§
Source§impl Clone for TableExtractionResult
impl Clone for TableExtractionResult
Auto Trait Implementations§
impl Freeze for TableExtractionResult
impl RefUnwindSafe for TableExtractionResult
impl Send for TableExtractionResult
impl Sync for TableExtractionResult
impl Unpin for TableExtractionResult
impl UnsafeUnpin for TableExtractionResult
impl UnwindSafe for TableExtractionResult
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<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 more