[][src]Struct gcp_client::google::cloud::documentai::v1beta1::document::Page

pub struct Page {
    pub page_number: i32,
    pub dimension: Option<Dimension>,
    pub layout: Option<Layout>,
    pub detected_languages: Vec<DetectedLanguage>,
    pub blocks: Vec<Block>,
    pub paragraphs: Vec<Paragraph>,
    pub lines: Vec<Line>,
    pub tokens: Vec<Token>,
    pub visual_elements: Vec<VisualElement>,
    pub tables: Vec<Table>,
    pub form_fields: Vec<FormField>,
}

A page in a [Document][google.cloud.documentai.v1beta1.Document].

Fields

page_number: i32

1-based index for current [Page][google.cloud.documentai.v1beta1.Document.Page] in a parent [Document][google.cloud.documentai.v1beta1.Document]. Useful when a page is taken out of a [Document][google.cloud.documentai.v1beta1.Document] for individual processing.

dimension: Option<Dimension>

Physical dimension of the page.

layout: Option<Layout>

[Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for the page.

detected_languages: Vec<DetectedLanguage>

A list of detected languages together with confidence.

blocks: Vec<Block>

A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.

paragraphs: Vec<Paragraph>

A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.

lines: Vec<Line>

A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.

tokens: Vec<Token>

A list of visually detected tokens on the page.

visual_elements: Vec<VisualElement>

A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

tables: Vec<Table>

A list of visually detected tables on the page.

form_fields: Vec<FormField>

A list of visually detected form fields on the page.

Trait Implementations

impl Clone for Page[src]

impl Debug for Page[src]

impl Default for Page[src]

impl Message for Page[src]

impl PartialEq<Page> for Page[src]

impl StructuralPartialEq for Page[src]

Auto Trait Implementations

impl RefUnwindSafe for Page

impl Send for Page

impl Sync for Page

impl Unpin for Page

impl UnwindSafe for Page

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]