pub struct Extraction {
pub pages: Vec<Page>,
pub spans: Vec<Span>,
pub regions: Vec<Region>,
pub warnings: Vec<Warning>,
}Expand description
Extraction output: the normalized, quantized data that leaves the backend.
No raw f64 geometry, no backend-native types (invariants 1 + 3).
Fields§
§pages: Vec<Page>Pages in ascending original index (already filtered by page selection — filtering happens at the backend boundary, PRD §16).
spans: Vec<Span>Spans in normalized content-stream order, quantized.
regions: Vec<Region>Raw non-text regions (pre-classification), stable coordinates.
warnings: Vec<Warning>Warnings emitted during extraction (numbered later per contract §5).
Trait Implementations§
Source§impl Clone for Extraction
impl Clone for Extraction
Source§fn clone(&self) -> Extraction
fn clone(&self) -> Extraction
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 Extraction
impl Debug for Extraction
Source§impl<'de> Deserialize<'de> for Extraction
impl<'de> Deserialize<'de> for Extraction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Extraction
impl PartialEq for Extraction
Source§fn eq(&self, other: &Extraction) -> bool
fn eq(&self, other: &Extraction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Extraction
impl Serialize for Extraction
impl StructuralPartialEq for Extraction
Auto Trait Implementations§
impl Freeze for Extraction
impl RefUnwindSafe for Extraction
impl Send for Extraction
impl Sync for Extraction
impl Unpin for Extraction
impl UnsafeUnpin for Extraction
impl UnwindSafe for Extraction
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