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
impl StructuralPartialEq for IdentityDocumentBuilder
Auto Trait Implementations§
impl Freeze for IdentityDocumentBuilder
impl RefUnwindSafe for IdentityDocumentBuilder
impl Send for IdentityDocumentBuilder
impl Sync for IdentityDocumentBuilder
impl Unpin for IdentityDocumentBuilder
impl UnwindSafe for IdentityDocumentBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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