pub struct Payload {
pub coordinate_system: CoordinateSystem,
pub pages: Vec<Page>,
pub elements: Vec<Element>,
pub spans: Vec<Span>,
pub tables: Vec<Table>,
pub chunks: Vec<Chunk>,
pub regions: Vec<Region>,
pub security_warnings: Vec<Warning>,
pub parser_warnings: Vec<Warning>,
}Expand description
The emitted document payload.
Fields§
§coordinate_system: CoordinateSystemUniform coordinate system for every bbox.
pages: Vec<Page>Pages, ascending original index.
elements: Vec<Element>Elements — array order IS reading order.
spans: Vec<Span>Spans, content-stream order.
tables: Vec<Table>Tables.
chunks: Vec<Chunk>Chunks.
regions: Vec<Region>Non-text regions with stable coordinates.
security_warnings: Vec<Warning>Security-class warnings (contract §8 code split).
parser_warnings: Vec<Warning>Parser warnings.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Payload
impl<'de> Deserialize<'de> for Payload
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
impl StructuralPartialEq for Payload
Auto Trait Implementations§
impl Freeze for Payload
impl RefUnwindSafe for Payload
impl Send for Payload
impl Sync for Payload
impl Unpin for Payload
impl UnsafeUnpin for Payload
impl UnwindSafe for Payload
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