#[non_exhaustive]pub struct AnalyzeExpenseOutputBuilder { /* private fields */ }
Expand description
A builder for AnalyzeExpenseOutput
.
Implementations§
source§impl AnalyzeExpenseOutputBuilder
impl AnalyzeExpenseOutputBuilder
sourcepub fn document_metadata(self, input: DocumentMetadata) -> Self
pub fn document_metadata(self, input: DocumentMetadata) -> Self
Information about the input document.
sourcepub fn set_document_metadata(self, input: Option<DocumentMetadata>) -> Self
pub fn set_document_metadata(self, input: Option<DocumentMetadata>) -> Self
Information about the input document.
sourcepub fn get_document_metadata(&self) -> &Option<DocumentMetadata>
pub fn get_document_metadata(&self) -> &Option<DocumentMetadata>
Information about the input document.
sourcepub fn expense_documents(self, input: ExpenseDocument) -> Self
pub fn expense_documents(self, input: ExpenseDocument) -> Self
Appends an item to expense_documents
.
To override the contents of this collection use set_expense_documents
.
The expenses detected by Amazon Textract.
sourcepub fn set_expense_documents(self, input: Option<Vec<ExpenseDocument>>) -> Self
pub fn set_expense_documents(self, input: Option<Vec<ExpenseDocument>>) -> Self
The expenses detected by Amazon Textract.
sourcepub fn get_expense_documents(&self) -> &Option<Vec<ExpenseDocument>>
pub fn get_expense_documents(&self) -> &Option<Vec<ExpenseDocument>>
The expenses detected by Amazon Textract.
sourcepub fn build(self) -> AnalyzeExpenseOutput
pub fn build(self) -> AnalyzeExpenseOutput
Consumes the builder and constructs a AnalyzeExpenseOutput
.
Trait Implementations§
source§impl Clone for AnalyzeExpenseOutputBuilder
impl Clone for AnalyzeExpenseOutputBuilder
source§fn clone(&self) -> AnalyzeExpenseOutputBuilder
fn clone(&self) -> AnalyzeExpenseOutputBuilder
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 AnalyzeExpenseOutputBuilder
impl Debug for AnalyzeExpenseOutputBuilder
source§impl Default for AnalyzeExpenseOutputBuilder
impl Default for AnalyzeExpenseOutputBuilder
source§fn default() -> AnalyzeExpenseOutputBuilder
fn default() -> AnalyzeExpenseOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AnalyzeExpenseOutputBuilder
impl PartialEq for AnalyzeExpenseOutputBuilder
source§fn eq(&self, other: &AnalyzeExpenseOutputBuilder) -> bool
fn eq(&self, other: &AnalyzeExpenseOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnalyzeExpenseOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AnalyzeExpenseOutputBuilder
impl Send for AnalyzeExpenseOutputBuilder
impl Sync for AnalyzeExpenseOutputBuilder
impl Unpin for AnalyzeExpenseOutputBuilder
impl UnwindSafe for AnalyzeExpenseOutputBuilder
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.