Struct aws_sdk_textract::input::DetectDocumentTextInput
source · #[non_exhaustive]pub struct DetectDocumentTextInput { /* private fields */ }
Implementations§
source§impl DetectDocumentTextInput
impl DetectDocumentTextInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetectDocumentText, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetectDocumentText, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DetectDocumentText
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DetectDocumentTextInput
.
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.
Trait Implementations§
source§impl Clone for DetectDocumentTextInput
impl Clone for DetectDocumentTextInput
source§fn clone(&self) -> DetectDocumentTextInput
fn clone(&self) -> DetectDocumentTextInput
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 Debug for DetectDocumentTextInput
impl Debug for DetectDocumentTextInput
source§impl PartialEq<DetectDocumentTextInput> for DetectDocumentTextInput
impl PartialEq<DetectDocumentTextInput> for DetectDocumentTextInput
source§fn eq(&self, other: &DetectDocumentTextInput) -> bool
fn eq(&self, other: &DetectDocumentTextInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.