pub struct Extracted {
pub text: String,
pub format: Format,
pub metadata: HashMap<String, String>,
}Expand description
Extracted text with metadata about the source document.
Fields§
§text: StringThe extracted plain text content.
format: FormatThe detected (or specified) source format.
metadata: HashMap<String, String>Metadata from extraction (title, extractor used, language, etc.).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Extracted
impl RefUnwindSafe for Extracted
impl Send for Extracted
impl Sync for Extracted
impl Unpin for Extracted
impl UnsafeUnpin for Extracted
impl UnwindSafe for Extracted
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