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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> Option<&[IdentityDocumentField]>
pub fn identity_document_fields(&self) -> Option<&[IdentityDocumentField]>
The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.
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
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 IdentityDocument
impl Debug for IdentityDocument
source§impl PartialEq<IdentityDocument> for IdentityDocument
impl PartialEq<IdentityDocument> for IdentityDocument
source§fn eq(&self, other: &IdentityDocument) -> bool
fn eq(&self, other: &IdentityDocument) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IdentityDocument
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more