#[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 ==.impl StructuralPartialEq for DetectDocumentTextInput
Auto Trait Implementations§
impl Freeze for DetectDocumentTextInput
impl RefUnwindSafe for DetectDocumentTextInput
impl Send for DetectDocumentTextInput
impl Sync for DetectDocumentTextInput
impl Unpin for DetectDocumentTextInput
impl UnwindSafe for DetectDocumentTextInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more