Struct aws_sdk_textract::types::builders::ExpenseDocumentBuilder
source · #[non_exhaustive]pub struct ExpenseDocumentBuilder { /* private fields */ }
Expand description
A builder for ExpenseDocument
.
Implementations§
source§impl ExpenseDocumentBuilder
impl ExpenseDocumentBuilder
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 get_expense_index(&self) -> &Option<i32>
pub fn get_expense_index(&self) -> &Option<i32>
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 get_summary_fields(&self) -> &Option<Vec<ExpenseField>>
pub fn get_summary_fields(&self) -> &Option<Vec<ExpenseField>>
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 get_line_item_groups(&self) -> &Option<Vec<LineItemGroup>>
pub fn get_line_item_groups(&self) -> &Option<Vec<LineItemGroup>>
Information detected on each table of a document, seperated into LineItems
.
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
.
This is a block object, the same as reported when DetectDocumentText is run on a document. It provides word level recognition of text.
sourcepub fn set_blocks(self, input: Option<Vec<Block>>) -> Self
pub fn set_blocks(self, input: Option<Vec<Block>>) -> Self
This is a block object, the same as reported when DetectDocumentText is run on a document. It provides word level recognition of text.
sourcepub fn get_blocks(&self) -> &Option<Vec<Block>>
pub fn get_blocks(&self) -> &Option<Vec<Block>>
This is a block object, the same as reported when DetectDocumentText is run on a document. It provides word level recognition of text.
sourcepub fn build(self) -> ExpenseDocument
pub fn build(self) -> ExpenseDocument
Consumes the builder and constructs a ExpenseDocument
.
Trait Implementations§
source§impl Clone for ExpenseDocumentBuilder
impl Clone for ExpenseDocumentBuilder
source§fn clone(&self) -> ExpenseDocumentBuilder
fn clone(&self) -> ExpenseDocumentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExpenseDocumentBuilder
impl Debug for ExpenseDocumentBuilder
source§impl Default for ExpenseDocumentBuilder
impl Default for ExpenseDocumentBuilder
source§fn default() -> ExpenseDocumentBuilder
fn default() -> ExpenseDocumentBuilder
source§impl PartialEq for ExpenseDocumentBuilder
impl PartialEq for ExpenseDocumentBuilder
source§fn eq(&self, other: &ExpenseDocumentBuilder) -> bool
fn eq(&self, other: &ExpenseDocumentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExpenseDocumentBuilder
Auto Trait Implementations§
impl Freeze for ExpenseDocumentBuilder
impl RefUnwindSafe for ExpenseDocumentBuilder
impl Send for ExpenseDocumentBuilder
impl Sync for ExpenseDocumentBuilder
impl Unpin for ExpenseDocumentBuilder
impl UnwindSafe for ExpenseDocumentBuilder
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> 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