[][src]Struct google_documentai1_beta2::GoogleCloudDocumentaiV1beta2FormExtractionParams

pub struct GoogleCloudDocumentaiV1beta2FormExtractionParams {
    pub model_version: Option<String>,
    pub key_value_pair_hints: Option<Vec<GoogleCloudDocumentaiV1beta2KeyValuePairHint>>,
    pub enabled: Option<bool>,
}

Parameters to control form extraction behavior.

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

Fields

model_version: Option<String>

Model version of the form extraction system. Default is "builtin/stable". Specify "builtin/latest" for the latest model. For custom form models, specify: “custom/{model_name}". Model name format is "bucket_name/path/to/modeldir" corresponding to "gs://bucket_name/path/to/modeldir" where annotated examples are stored.

key_value_pair_hints: Option<Vec<GoogleCloudDocumentaiV1beta2KeyValuePairHint>>

Reserved for future use.

enabled: Option<bool>

Whether to enable form extraction.

Trait Implementations

impl Clone for GoogleCloudDocumentaiV1beta2FormExtractionParams[src]

impl Debug for GoogleCloudDocumentaiV1beta2FormExtractionParams[src]

impl Default for GoogleCloudDocumentaiV1beta2FormExtractionParams[src]

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

impl Part for GoogleCloudDocumentaiV1beta2FormExtractionParams[src]

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