pub struct ExtractedDocument {
pub text: Vec<u8>,
pub metadata: Option<MetadataReport>,
pub format: DetectedFormat,
}Expand description
Result of document extraction.
Fields§
§text: Vec<u8>Extracted text content, UTF-8.
metadata: Option<MetadataReport>Metadata report (populated if extract_metadata was set).
format: DetectedFormatOriginal format detected.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtractedDocument
impl RefUnwindSafe for ExtractedDocument
impl Send for ExtractedDocument
impl Sync for ExtractedDocument
impl Unpin for ExtractedDocument
impl UnsafeUnpin for ExtractedDocument
impl UnwindSafe for ExtractedDocument
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