Struct aws_sdk_textract::input::DetectDocumentTextInput
source · [−]Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.document: Option<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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetectDocumentText, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetectDocumentText, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DetectDocumentText
>
Creates a new builder-style object to manufacture DetectDocumentTextInput
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DetectDocumentTextInput
impl Send for DetectDocumentTextInput
impl Sync for DetectDocumentTextInput
impl Unpin for DetectDocumentTextInput
impl UnwindSafe for DetectDocumentTextInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more