pub enum FileParserEngine {
PdfText,
MistralOcr,
Native,
Auto,
}Expand description
PDF parsing engine selection for the file-parser plugin.
Variants§
PdfText
Lightweight text extraction (pdf-text).
MistralOcr
OCR-based extraction (mistral-ocr).
Native
Native model handling (native).
Auto
Let OpenRouter pick a default (no pdf.engine emitted).
Trait Implementations§
Source§impl Clone for FileParserEngine
impl Clone for FileParserEngine
Source§fn clone(&self) -> FileParserEngine
fn clone(&self) -> FileParserEngine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FileParserEngine
Source§impl Debug for FileParserEngine
impl Debug for FileParserEngine
impl Eq for FileParserEngine
Source§impl Hash for FileParserEngine
impl Hash for FileParserEngine
Source§impl PartialEq for FileParserEngine
impl PartialEq for FileParserEngine
impl StructuralPartialEq for FileParserEngine
Auto Trait Implementations§
impl Freeze for FileParserEngine
impl RefUnwindSafe for FileParserEngine
impl Send for FileParserEngine
impl Sync for FileParserEngine
impl Unpin for FileParserEngine
impl UnsafeUnpin for FileParserEngine
impl UnwindSafe for FileParserEngine
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