Struct google_documentai1_beta2::api::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue[][src]

pub struct GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue {
    pub address_value: Option<GoogleTypePostalAddress>,
    pub boolean_value: Option<bool>,
    pub date_value: Option<GoogleTypeDate>,
    pub datetime_value: Option<GoogleTypeDateTime>,
    pub money_value: Option<GoogleTypeMoney>,
    pub text: Option<String>,
}

Parsed and normalized entity value.

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

Fields

address_value: Option<GoogleTypePostalAddress>

Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto

boolean_value: Option<bool>

Boolean value. Can be used for entities with binary values, or for checkboxes.

date_value: Option<GoogleTypeDate>

Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto

datetime_value: Option<GoogleTypeDateTime>

DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto

money_value: Option<GoogleTypeMoney>

Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto

text: Option<String>

Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective ‘structured_value’ fields may also be populated. - Money/Currency type (money_value) is in the ISO 4217 text format. - Date type (date_value) is in the ISO 8601 text format. - Datetime type (datetime_value) is in the ISO 8601 text format.

Trait Implementations

impl Clone for GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue[src]

impl Debug for GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue[src]

impl Default for GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue[src]

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

impl Part for GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue[src]

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