pub struct ExtractedContent {
pub text: String,
pub document_type: DocumentType,
pub page_count: usize,
pub image_references: Vec<ImageReference>,
pub table_content: Vec<String>,
pub chart_references: Vec<ChartReference>,
pub title: Option<String>,
pub author: Option<String>,
pub creation_date: Option<String>,
pub language: Option<String>,
}Expand description
Extracted content from document
Fields§
§text: StringText content
document_type: DocumentTypeDocument type
page_count: usizePage count
image_references: Vec<ImageReference>Image references
table_content: Vec<String>Table content
chart_references: Vec<ChartReference>Chart references
title: Option<String>Document title
Document author
creation_date: Option<String>Creation date
language: Option<String>Language
Trait Implementations§
Source§impl Clone for ExtractedContent
impl Clone for ExtractedContent
Source§fn clone(&self) -> ExtractedContent
fn clone(&self) -> ExtractedContent
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 moreAuto Trait Implementations§
impl Freeze for ExtractedContent
impl RefUnwindSafe for ExtractedContent
impl Send for ExtractedContent
impl Sync for ExtractedContent
impl Unpin for ExtractedContent
impl UnwindSafe for ExtractedContent
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