pub struct DocumentParserConfig {
pub supported_types: Vec<DocumentType>,
pub extract_text: bool,
pub extract_images: bool,
pub extract_tables: bool,
pub extract_charts: bool,
pub analyze_structure: bool,
pub max_file_size: usize,
pub max_pages: Option<usize>,
}Expand description
Document parser configuration
Fields§
§supported_types: Vec<DocumentType>Supported document types
extract_text: boolExtract text content
extract_images: boolExtract images
extract_tables: boolExtract tables
extract_charts: boolExtract charts
analyze_structure: boolAnalyze document structure
max_file_size: usizeMaximum file size (bytes)
max_pages: Option<usize>Page processing limit
Trait Implementations§
Source§impl Clone for DocumentParserConfig
impl Clone for DocumentParserConfig
Source§fn clone(&self) -> DocumentParserConfig
fn clone(&self) -> DocumentParserConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 DocumentParserConfig
impl Debug for DocumentParserConfig
Auto Trait Implementations§
impl Freeze for DocumentParserConfig
impl RefUnwindSafe for DocumentParserConfig
impl Send for DocumentParserConfig
impl Sync for DocumentParserConfig
impl Unpin for DocumentParserConfig
impl UnwindSafe for DocumentParserConfig
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