[][src]Struct rusoto_textract::AnalyzeDocumentRequest

pub struct AnalyzeDocumentRequest {
    pub document: Document,
    pub feature_types: Vec<String>,
    pub human_loop_config: Option<HumanLoopConfig>,
}

Fields

document: Document

The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG format.

If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are passed using the Bytes field.

feature_types: Vec<String>

A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that are detected in the input document. Add FORMS to return detected form data. To perform both types of analysis, add TABLES and FORMS to FeatureTypes. All lines and words detected in the document are included in the response (including text that isn't related to the value of FeatureTypes).

human_loop_config: Option<HumanLoopConfig>

Sets the configuration for the human in the loop workflow for analyzing documents.

Trait Implementations

impl Clone for AnalyzeDocumentRequest[src]

impl Debug for AnalyzeDocumentRequest[src]

impl Default for AnalyzeDocumentRequest[src]

impl PartialEq<AnalyzeDocumentRequest> for AnalyzeDocumentRequest[src]

impl Serialize for AnalyzeDocumentRequest[src]

impl StructuralPartialEq for AnalyzeDocumentRequest[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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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.