Struct google_documentai1_beta2::api::GoogleCloudDocumentaiV1beta2ProcessDocumentRequest [−][src]
Request to process one document.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- documents process projects (request)
- locations documents process projects (request)
Fields
automl_params: Option<GoogleCloudDocumentaiV1beta2AutoMlParams>Controls AutoML model prediction behavior. AutoMlParams cannot be used together with other Params.
document_type: Option<String>Specifies a known document type for deeper structure detection. Valid values are currently "general" and "invoice". If not provided, "general"\ is used as default. If any other value is given, the request is rejected.
entity_extraction_params: Option<GoogleCloudDocumentaiV1beta2EntityExtractionParams>Controls entity extraction behavior. If not specified, the system will decide reasonable defaults.
form_extraction_params: Option<GoogleCloudDocumentaiV1beta2FormExtractionParams>Controls form extraction behavior. If not specified, the system will decide reasonable defaults.
input_config: Option<GoogleCloudDocumentaiV1beta2InputConfig>Required. Information about the input file.
ocr_params: Option<GoogleCloudDocumentaiV1beta2OcrParams>Controls OCR behavior. If not specified, the system will decide reasonable defaults.
output_config: Option<GoogleCloudDocumentaiV1beta2OutputConfig>The desired output location. This field is only needed in BatchProcessDocumentsRequest.
parent: Option<String>Target project and location to make a call. Format: projects/{project-id}/locations/{location-id}. If no location is specified, a region will be chosen automatically. This field is only populated when used in ProcessDocument method.
table_extraction_params: Option<GoogleCloudDocumentaiV1beta2TableExtractionParams>Controls table extraction behavior. If not specified, the system will decide reasonable defaults.
Trait Implementations
impl Clone for GoogleCloudDocumentaiV1beta2ProcessDocumentRequest[src]
fn clone(&self) -> GoogleCloudDocumentaiV1beta2ProcessDocumentRequest[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for GoogleCloudDocumentaiV1beta2ProcessDocumentRequest[src]
impl Default for GoogleCloudDocumentaiV1beta2ProcessDocumentRequest[src]
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2ProcessDocumentRequest[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl RequestValue for GoogleCloudDocumentaiV1beta2ProcessDocumentRequest[src]
impl Serialize for GoogleCloudDocumentaiV1beta2ProcessDocumentRequest[src]
Auto Trait Implementations
impl RefUnwindSafe for GoogleCloudDocumentaiV1beta2ProcessDocumentRequest[src]
impl Send for GoogleCloudDocumentaiV1beta2ProcessDocumentRequest[src]
impl Sync for GoogleCloudDocumentaiV1beta2ProcessDocumentRequest[src]
impl Unpin for GoogleCloudDocumentaiV1beta2ProcessDocumentRequest[src]
impl UnwindSafe for GoogleCloudDocumentaiV1beta2ProcessDocumentRequest[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,