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 ==
.