pub struct PreprocessorOutput {
pub text_elements: Vec<PdfTextElement>,
pub metadata: DocumentMetadata,
pub style_data: StyleData,
pub bookmark_data: Option<BookmarkData>,
}Expand description
Complete output from document preprocessing
Contains all the data extracted from document parsing, including text elements, metadata, styling information, and document structure.
Fields§
§text_elements: Vec<PdfTextElement>Extracted text elements with positioning and styling
metadata: DocumentMetadataDocument metadata (title, author, creation date, etc.)
style_data: StyleDataStyle information (fonts, colors, formatting)
bookmark_data: Option<BookmarkData>Document bookmarks/table of contents (if available)
Trait Implementations§
Source§impl Clone for PreprocessorOutput
impl Clone for PreprocessorOutput
Source§fn clone(&self) -> PreprocessorOutput
fn clone(&self) -> PreprocessorOutput
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 moreSource§impl Debug for PreprocessorOutput
impl Debug for PreprocessorOutput
Source§impl<'de> Deserialize<'de> for PreprocessorOutput
impl<'de> Deserialize<'de> for PreprocessorOutput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PreprocessorOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PreprocessorOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PreprocessorOutput
impl Serialize for PreprocessorOutput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for PreprocessorOutput
impl RefUnwindSafe for PreprocessorOutput
impl Send for PreprocessorOutput
impl Sync for PreprocessorOutput
impl Unpin for PreprocessorOutput
impl UnsafeUnpin for PreprocessorOutput
impl UnwindSafe for PreprocessorOutput
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