pub struct ConversionReport {
pub input: String,
pub output: String,
pub pages: usize,
pub blocks: usize,
pub reconstructed_chars: usize,
pub baseline_chars: usize,
pub coverage_percent: f64,
pub two_column_pages: usize,
pub page_stats: Vec<PageStats>,
pub warnings: Vec<String>,
}Fields§
§input: String§output: String§pages: usize§blocks: usize§reconstructed_chars: usizeNon-whitespace characters in reconstructed blocks.
baseline_chars: usizeNon-whitespace characters in the raw pdftotext baseline.
coverage_percent: f64reconstructed/baseline, capped at 100. Above ~100 means the baseline missed text (rare); far below means reconstruction dropped content and the page list below says where.
two_column_pages: usize§page_stats: Vec<PageStats>§warnings: Vec<String>Implementations§
Trait Implementations§
Source§impl Debug for ConversionReport
impl Debug for ConversionReport
Auto Trait Implementations§
impl Freeze for ConversionReport
impl RefUnwindSafe for ConversionReport
impl Send for ConversionReport
impl Sync for ConversionReport
impl Unpin for ConversionReport
impl UnsafeUnpin for ConversionReport
impl UnwindSafe for ConversionReport
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