#[non_exhaustive]pub struct DetectDocumentTextInput {
pub document: Option<Document>,
}
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§
source§impl DetectDocumentTextInput
impl DetectDocumentTextInput
sourcepub fn document(&self) -> Option<&Document>
pub fn document(&self) -> 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.
source§impl DetectDocumentTextInput
impl DetectDocumentTextInput
sourcepub fn builder() -> DetectDocumentTextInputBuilder
pub fn builder() -> DetectDocumentTextInputBuilder
Creates a new builder-style object to manufacture DetectDocumentTextInput
.
Trait Implementations§
source§impl Clone for DetectDocumentTextInput
impl Clone for DetectDocumentTextInput
source§fn clone(&self) -> DetectDocumentTextInput
fn clone(&self) -> DetectDocumentTextInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DetectDocumentTextInput
impl Debug for DetectDocumentTextInput
source§impl PartialEq for DetectDocumentTextInput
impl PartialEq for DetectDocumentTextInput
source§fn eq(&self, other: &DetectDocumentTextInput) -> bool
fn eq(&self, other: &DetectDocumentTextInput) -> bool
self
and other
values to be equal, and is used
by ==
.