Struct aws_sdk_textract::types::IdentityDocument
source · #[non_exhaustive]pub struct IdentityDocument {
pub document_index: Option<i32>,
pub identity_document_fields: Option<Vec<IdentityDocumentField>>,
pub blocks: Option<Vec<Block>>,
}
Expand description
The structure that lists each document processed in an AnalyzeID operation.
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_index: Option<i32>
Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2 and so on.
identity_document_fields: Option<Vec<IdentityDocumentField>>
The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.
blocks: Option<Vec<Block>>
Individual word recognition, as returned by document detection.
Implementations§
source§impl IdentityDocument
impl IdentityDocument
sourcepub fn document_index(&self) -> Option<i32>
pub fn document_index(&self) -> Option<i32>
Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2 and so on.
sourcepub fn identity_document_fields(&self) -> &[IdentityDocumentField]
pub fn identity_document_fields(&self) -> &[IdentityDocumentField]
The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .identity_document_fields.is_none()
.
source§impl IdentityDocument
impl IdentityDocument
sourcepub fn builder() -> IdentityDocumentBuilder
pub fn builder() -> IdentityDocumentBuilder
Creates a new builder-style object to manufacture IdentityDocument
.
Trait Implementations§
source§impl Clone for IdentityDocument
impl Clone for IdentityDocument
source§fn clone(&self) -> IdentityDocument
fn clone(&self) -> IdentityDocument
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IdentityDocument
impl Debug for IdentityDocument
source§impl PartialEq for IdentityDocument
impl PartialEq for IdentityDocument
source§fn eq(&self, other: &IdentityDocument) -> bool
fn eq(&self, other: &IdentityDocument) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IdentityDocument
Auto Trait Implementations§
impl Freeze for IdentityDocument
impl RefUnwindSafe for IdentityDocument
impl Send for IdentityDocument
impl Sync for IdentityDocument
impl Unpin for IdentityDocument
impl UnwindSafe for IdentityDocument
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