Struct aws_sdk_textract::types::Extraction
source · #[non_exhaustive]pub struct Extraction {
pub lending_document: Option<LendingDocument>,
pub expense_document: Option<ExpenseDocument>,
pub identity_document: Option<IdentityDocument>,
}
Expand description
Contains information extracted by an analysis operation after using StartLendingAnalysis.
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.lending_document: Option<LendingDocument>
Holds the structured data returned by AnalyzeDocument for lending documents.
expense_document: Option<ExpenseDocument>
The structure holding all the information returned by AnalyzeExpense
identity_document: Option<IdentityDocument>
The structure that lists each document processed in an AnalyzeID operation.
Implementations§
source§impl Extraction
impl Extraction
sourcepub fn lending_document(&self) -> Option<&LendingDocument>
pub fn lending_document(&self) -> Option<&LendingDocument>
Holds the structured data returned by AnalyzeDocument for lending documents.
sourcepub fn expense_document(&self) -> Option<&ExpenseDocument>
pub fn expense_document(&self) -> Option<&ExpenseDocument>
The structure holding all the information returned by AnalyzeExpense
sourcepub fn identity_document(&self) -> Option<&IdentityDocument>
pub fn identity_document(&self) -> Option<&IdentityDocument>
The structure that lists each document processed in an AnalyzeID operation.
source§impl Extraction
impl Extraction
sourcepub fn builder() -> ExtractionBuilder
pub fn builder() -> ExtractionBuilder
Creates a new builder-style object to manufacture Extraction
.
Trait Implementations§
source§impl Clone for Extraction
impl Clone for Extraction
source§fn clone(&self) -> Extraction
fn clone(&self) -> Extraction
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 Extraction
impl Debug for Extraction
source§impl PartialEq for Extraction
impl PartialEq for Extraction
source§fn eq(&self, other: &Extraction) -> bool
fn eq(&self, other: &Extraction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Extraction
Auto Trait Implementations§
impl RefUnwindSafe for Extraction
impl Send for Extraction
impl Sync for Extraction
impl Unpin for Extraction
impl UnwindSafe for Extraction
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
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>
Creates a shared type from an unshared type.