pub struct GoogleCloudDocumentaiV1beta2FormExtractionParams {
pub enabled: Option<bool>,
pub key_value_pair_hints: Option<Vec<GoogleCloudDocumentaiV1beta2KeyValuePairHint>>,
pub model_version: Option<String>,
}
Expand description
Parameters to control form extraction behavior.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enabled: Option<bool>
Whether to enable form extraction.
key_value_pair_hints: Option<Vec<GoogleCloudDocumentaiV1beta2KeyValuePairHint>>
Reserved for future use.
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.
Trait Implementations§
source§impl Clone for GoogleCloudDocumentaiV1beta2FormExtractionParams
impl Clone for GoogleCloudDocumentaiV1beta2FormExtractionParams
source§fn clone(&self) -> GoogleCloudDocumentaiV1beta2FormExtractionParams
fn clone(&self) -> GoogleCloudDocumentaiV1beta2FormExtractionParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GoogleCloudDocumentaiV1beta2FormExtractionParams
impl Default for GoogleCloudDocumentaiV1beta2FormExtractionParams
source§fn default() -> GoogleCloudDocumentaiV1beta2FormExtractionParams
fn default() -> GoogleCloudDocumentaiV1beta2FormExtractionParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2FormExtractionParams
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2FormExtractionParams
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudDocumentaiV1beta2FormExtractionParams
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDocumentaiV1beta2FormExtractionParams
impl Send for GoogleCloudDocumentaiV1beta2FormExtractionParams
impl Sync for GoogleCloudDocumentaiV1beta2FormExtractionParams
impl Unpin for GoogleCloudDocumentaiV1beta2FormExtractionParams
impl UnwindSafe for GoogleCloudDocumentaiV1beta2FormExtractionParams
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more