Struct google_documentai1::api::GoogleCloudDocumentaiV1DocumentEntity[][src]

pub struct GoogleCloudDocumentaiV1DocumentEntity {
    pub confidence: Option<f32>,
    pub id: Option<String>,
    pub mention_id: Option<String>,
    pub mention_text: Option<String>,
    pub normalized_value: Option<GoogleCloudDocumentaiV1DocumentEntityNormalizedValue>,
    pub page_anchor: Option<GoogleCloudDocumentaiV1DocumentPageAnchor>,
    pub properties: Option<Vec<GoogleCloudDocumentaiV1DocumentEntity>>,
    pub provenance: Option<GoogleCloudDocumentaiV1DocumentProvenance>,
    pub redacted: Option<bool>,
    pub text_anchor: Option<GoogleCloudDocumentaiV1DocumentTextAnchor>,
    pub type_: Option<String>,
}

A phrase in the text that is a known entity type, such as a person, an organization, or location.

This type is not used in any activity, and only used as part of another schema.

Fields

confidence: Option<f32>

Optional. Confidence of detected Schema entity. Range [0, 1].

id: Option<String>

Optional. Canonical id. This will be a unique value in the entity list for this document.

mention_id: Option<String>

Optional. Deprecated. Use id field instead.

mention_text: Option<String>

Optional. Text value in the document e.g. 1600 Amphitheatre Pkwy.

normalized_value: Option<GoogleCloudDocumentaiV1DocumentEntityNormalizedValue>

Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types.

page_anchor: Option<GoogleCloudDocumentaiV1DocumentPageAnchor>

Optional. Represents the provenance of this entity wrt. the location on the page where it was found.

properties: Option<Vec<GoogleCloudDocumentaiV1DocumentEntity>>

Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.

provenance: Option<GoogleCloudDocumentaiV1DocumentProvenance>

Optional. The history of this annotation.

redacted: Option<bool>

Optional. Whether the entity will be redacted for de-identification purposes.

text_anchor: Option<GoogleCloudDocumentaiV1DocumentTextAnchor>

Optional. Provenance of the entity. Text anchor indexing into the Document.text.

type_: Option<String>

Entity type from a schema e.g. Address.

Trait Implementations

impl Clone for GoogleCloudDocumentaiV1DocumentEntity[src]

impl Debug for GoogleCloudDocumentaiV1DocumentEntity[src]

impl Default for GoogleCloudDocumentaiV1DocumentEntity[src]

impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1DocumentEntity[src]

impl Part for GoogleCloudDocumentaiV1DocumentEntity[src]

impl Serialize for GoogleCloudDocumentaiV1DocumentEntity[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<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> 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.