[][src]Enum gcp_client::google::cloud::documentai::v1beta2::document::page_anchor::page_ref::LayoutType

#[repr(i32)]pub enum LayoutType {
    Unspecified,
    Block,
    Paragraph,
    Line,
    Token,
    VisualElement,
    Table,
    FormField,
}

The type of layout that is being referenced.

Variants

Unspecified

Layout Unspecified.

Block

References a [Page.blocks][google.cloud.documentai.v1beta2.Document.Page.blocks] element.

Paragraph

References a [Page.paragraphs][google.cloud.documentai.v1beta2.Document.Page.paragraphs] element.

Line

References a [Page.lines][google.cloud.documentai.v1beta2.Document.Page.lines] element.

Token

References a [Page.tokens][google.cloud.documentai.v1beta2.Document.Page.tokens] element.

VisualElement

References a [Page.visual_elements][google.cloud.documentai.v1beta2.Document.Page.visual_elements] element.

Table

Refrrences a [Page.tables][google.cloud.documentai.v1beta2.Document.Page.tables] element.

FormField

References a [Page.form_fields][google.cloud.documentai.v1beta2.Document.Page.form_fields] element.

Implementations

impl LayoutType[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of LayoutType.

pub fn from_i32(value: i32) -> Option<LayoutType>[src]

Converts an i32 to a LayoutType, or None if value is not a valid variant.

Trait Implementations

impl Clone for LayoutType[src]

impl Copy for LayoutType[src]

impl Debug for LayoutType[src]

impl Default for LayoutType[src]

impl Eq for LayoutType[src]

impl From<LayoutType> for i32[src]

impl Hash for LayoutType[src]

impl Ord for LayoutType[src]

impl PartialEq<LayoutType> for LayoutType[src]

impl PartialOrd<LayoutType> for LayoutType[src]

impl StructuralEq for LayoutType[src]

impl StructuralPartialEq for LayoutType[src]

Auto Trait Implementations

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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]