Struct aws_sdk_textract::types::builders::IdentityDocumentBuilder
source · #[non_exhaustive]pub struct IdentityDocumentBuilder { /* private fields */ }
Expand description
A builder for IdentityDocument
.
Implementations§
source§impl IdentityDocumentBuilder
impl IdentityDocumentBuilder
sourcepub fn document_index(self, input: i32) -> Self
pub fn document_index(self, input: i32) -> Self
Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2 and so on.
sourcepub fn set_document_index(self, input: Option<i32>) -> Self
pub fn set_document_index(self, input: Option<i32>) -> Self
Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2 and so on.
sourcepub fn get_document_index(&self) -> &Option<i32>
pub fn get_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, input: IdentityDocumentField) -> Self
pub fn identity_document_fields(self, input: IdentityDocumentField) -> Self
Appends an item to identity_document_fields
.
To override the contents of this collection use set_identity_document_fields
.
The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.
sourcepub fn set_identity_document_fields(
self,
input: Option<Vec<IdentityDocumentField>>
) -> Self
pub fn set_identity_document_fields( self, input: Option<Vec<IdentityDocumentField>> ) -> Self
The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.
sourcepub fn get_identity_document_fields(
&self
) -> &Option<Vec<IdentityDocumentField>>
pub fn get_identity_document_fields( &self ) -> &Option<Vec<IdentityDocumentField>>
The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.
sourcepub fn blocks(self, input: Block) -> Self
pub fn blocks(self, input: Block) -> Self
Appends an item to blocks
.
To override the contents of this collection use set_blocks
.
Individual word recognition, as returned by document detection.
sourcepub fn set_blocks(self, input: Option<Vec<Block>>) -> Self
pub fn set_blocks(self, input: Option<Vec<Block>>) -> Self
Individual word recognition, as returned by document detection.
sourcepub fn get_blocks(&self) -> &Option<Vec<Block>>
pub fn get_blocks(&self) -> &Option<Vec<Block>>
Individual word recognition, as returned by document detection.
sourcepub fn build(self) -> IdentityDocument
pub fn build(self) -> IdentityDocument
Consumes the builder and constructs a IdentityDocument
.
Trait Implementations§
source§impl Clone for IdentityDocumentBuilder
impl Clone for IdentityDocumentBuilder
source§fn clone(&self) -> IdentityDocumentBuilder
fn clone(&self) -> IdentityDocumentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IdentityDocumentBuilder
impl Debug for IdentityDocumentBuilder
source§impl Default for IdentityDocumentBuilder
impl Default for IdentityDocumentBuilder
source§fn default() -> IdentityDocumentBuilder
fn default() -> IdentityDocumentBuilder
source§impl PartialEq for IdentityDocumentBuilder
impl PartialEq for IdentityDocumentBuilder
source§fn eq(&self, other: &IdentityDocumentBuilder) -> bool
fn eq(&self, other: &IdentityDocumentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.