Struct aws_sdk_textract::model::ExpenseField
source · #[non_exhaustive]pub struct ExpenseField { /* private fields */ }
Expand description
Breakdown of detected information, seperated into the catagories Type, LabelDetection, and ValueDetection
Implementations§
source§impl ExpenseField
impl ExpenseField
sourcepub fn type(&self) -> Option<&ExpenseType>
pub fn type(&self) -> Option<&ExpenseType>
The implied label of a detected element. Present alongside LabelDetection for explicit elements.
sourcepub fn label_detection(&self) -> Option<&ExpenseDetection>
pub fn label_detection(&self) -> Option<&ExpenseDetection>
The explicitly stated label of a detected element.
sourcepub fn value_detection(&self) -> Option<&ExpenseDetection>
pub fn value_detection(&self) -> Option<&ExpenseDetection>
The value of a detected element. Present in explicit and implicit elements.
sourcepub fn page_number(&self) -> Option<i32>
pub fn page_number(&self) -> Option<i32>
The page number the value was detected on.
sourcepub fn currency(&self) -> Option<&ExpenseCurrency>
pub fn currency(&self) -> Option<&ExpenseCurrency>
Shows the kind of currency, both the code and confidence associated with any monatary value detected.
sourcepub fn group_properties(&self) -> Option<&[ExpenseGroupProperty]>
pub fn group_properties(&self) -> Option<&[ExpenseGroupProperty]>
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.
source§impl ExpenseField
impl ExpenseField
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExpenseField
.
Trait Implementations§
source§impl Clone for ExpenseField
impl Clone for ExpenseField
source§fn clone(&self) -> ExpenseField
fn clone(&self) -> ExpenseField
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 ExpenseField
impl Debug for ExpenseField
source§impl PartialEq<ExpenseField> for ExpenseField
impl PartialEq<ExpenseField> for ExpenseField
source§fn eq(&self, other: &ExpenseField) -> bool
fn eq(&self, other: &ExpenseField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.