pub struct ProcessingConfig {Show 24 fields
pub output_dir: Option<String>,
pub password: Option<String>,
pub formats: Vec<OutputFormat>,
pub quiet: bool,
pub filter_config: FilterConfig,
pub sanitize: bool,
pub keep_line_breaks: bool,
pub replace_invalid_chars: String,
pub use_struct_tree: bool,
pub table_method: TableMethod,
pub reading_order: ReadingOrder,
pub markdown_page_separator: Option<String>,
pub text_page_separator: Option<String>,
pub html_page_separator: Option<String>,
pub image_output: ImageOutput,
pub image_format: ImageFormat,
pub image_dir: Option<String>,
pub pages: Option<String>,
pub include_header_footer: bool,
pub hybrid: HybridBackend,
pub hybrid_mode: HybridMode,
pub hybrid_url: Option<String>,
pub hybrid_timeout: u64,
pub hybrid_fallback: bool,
}Expand description
Main processing configuration (24 options from CLI).
Fields§
§output_dir: Option<String>Output directory (default: input file directory)
password: Option<String>Password for encrypted PDFs
formats: Vec<OutputFormat>Output formats
quiet: boolSuppress console logging
filter_config: FilterConfigContent safety filter configuration
sanitize: boolEnable PII sanitization
keep_line_breaks: boolPreserve original line breaks
replace_invalid_chars: StringReplacement character for invalid characters
use_struct_tree: boolUse PDF structure tree for tagged PDFs
table_method: TableMethodTable detection method
reading_order: ReadingOrderReading order algorithm
markdown_page_separator: Option<String>Page separator for Markdown output
text_page_separator: Option<String>Page separator for text output
html_page_separator: Option<String>Page separator for HTML output
image_output: ImageOutputImage output mode
image_format: ImageFormatImage format
image_dir: Option<String>Directory for extracted images
pages: Option<String>Pages to extract (e.g., “1,3,5-7”)
Include headers/footers in output
hybrid: HybridBackendHybrid backend
hybrid_mode: HybridModeHybrid triage mode
hybrid_url: Option<String>Hybrid backend URL
hybrid_timeout: u64Hybrid timeout in milliseconds
hybrid_fallback: boolEnable local fallback on hybrid error
Trait Implementations§
Source§impl Clone for ProcessingConfig
impl Clone for ProcessingConfig
Source§fn clone(&self) -> ProcessingConfig
fn clone(&self) -> ProcessingConfig
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 ProcessingConfig
impl Debug for ProcessingConfig
Source§impl Default for ProcessingConfig
impl Default for ProcessingConfig
Source§impl<'de> Deserialize<'de> for ProcessingConfig
impl<'de> Deserialize<'de> for ProcessingConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProcessingConfig
impl RefUnwindSafe for ProcessingConfig
impl Send for ProcessingConfig
impl Sync for ProcessingConfig
impl Unpin for ProcessingConfig
impl UnsafeUnpin for ProcessingConfig
impl UnwindSafe for ProcessingConfig
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