Struct aws_sdk_textract::model::expense_document::Builder   
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for ExpenseDocument
Implementations
sourceimpl Builder
 
impl Builder
sourcepub fn expense_index(self, input: i32) -> Self
 
pub fn expense_index(self, input: i32) -> Self
Denotes which invoice or receipt in the document the information is coming from. First document will be 1, the second 2, and so on.
sourcepub fn set_expense_index(self, input: Option<i32>) -> Self
 
pub fn set_expense_index(self, input: Option<i32>) -> Self
Denotes which invoice or receipt in the document the information is coming from. First document will be 1, the second 2, and so on.
sourcepub fn summary_fields(self, input: ExpenseField) -> Self
 
pub fn summary_fields(self, input: ExpenseField) -> Self
Appends an item to summary_fields.
To override the contents of this collection use set_summary_fields.
Any information found outside of a table by Amazon Textract.
sourcepub fn set_summary_fields(self, input: Option<Vec<ExpenseField>>) -> Self
 
pub fn set_summary_fields(self, input: Option<Vec<ExpenseField>>) -> Self
Any information found outside of a table by Amazon Textract.
sourcepub fn line_item_groups(self, input: LineItemGroup) -> Self
 
pub fn line_item_groups(self, input: LineItemGroup) -> Self
Appends an item to line_item_groups.
To override the contents of this collection use set_line_item_groups.
Information detected on each table of a document, seperated into LineItems.
sourcepub fn set_line_item_groups(self, input: Option<Vec<LineItemGroup>>) -> Self
 
pub fn set_line_item_groups(self, input: Option<Vec<LineItemGroup>>) -> Self
Information detected on each table of a document, seperated into LineItems.
sourcepub fn build(self) -> ExpenseDocument
 
pub fn build(self) -> ExpenseDocument
Consumes the builder and constructs a ExpenseDocument
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
 
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
 
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
 
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
 
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more