[][src]Struct google_documentai1_beta2::GoogleCloudDocumentaiV1beta2DocumentEntity

pub struct GoogleCloudDocumentaiV1beta2DocumentEntity {
    pub mention_text: Option<String>,
    pub text_anchor: Option<GoogleCloudDocumentaiV1beta2DocumentTextAnchor>,
    pub confidence: Option<f32>,
    pub mention_id: Option<String>,
    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

mention_text: Option<String>

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

text_anchor: Option<GoogleCloudDocumentaiV1beta2DocumentTextAnchor>

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

confidence: Option<f32>

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

mention_id: Option<String>

Deprecated. Use id field instead.

type_: Option<String>

Entity type from a schema e.g. Address.

Trait Implementations

impl Clone for GoogleCloudDocumentaiV1beta2DocumentEntity[src]

impl Debug for GoogleCloudDocumentaiV1beta2DocumentEntity[src]

impl Default for GoogleCloudDocumentaiV1beta2DocumentEntity[src]

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

impl Part for GoogleCloudDocumentaiV1beta2DocumentEntity[src]

impl Serialize for GoogleCloudDocumentaiV1beta2DocumentEntity[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, 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.

impl<T> Typeable for T where
    T: Any