Struct aws_sdk_textract::types::builders::ExpenseFieldBuilder   
source · #[non_exhaustive]pub struct ExpenseFieldBuilder { /* private fields */ }Expand description
A builder for ExpenseField.
Implementations§
source§impl ExpenseFieldBuilder
 
impl ExpenseFieldBuilder
sourcepub fn type(self, input: ExpenseType) -> Self
 
pub fn type(self, input: ExpenseType) -> Self
The implied label of a detected element. Present alongside LabelDetection for explicit elements.
sourcepub fn set_type(self, input: Option<ExpenseType>) -> Self
 
pub fn set_type(self, input: Option<ExpenseType>) -> Self
The implied label of a detected element. Present alongside LabelDetection for explicit elements.
sourcepub fn get_type(&self) -> &Option<ExpenseType>
 
pub fn get_type(&self) -> &Option<ExpenseType>
The implied label of a detected element. Present alongside LabelDetection for explicit elements.
sourcepub fn label_detection(self, input: ExpenseDetection) -> Self
 
pub fn label_detection(self, input: ExpenseDetection) -> Self
The explicitly stated label of a detected element.
sourcepub fn set_label_detection(self, input: Option<ExpenseDetection>) -> Self
 
pub fn set_label_detection(self, input: Option<ExpenseDetection>) -> Self
The explicitly stated label of a detected element.
sourcepub fn get_label_detection(&self) -> &Option<ExpenseDetection>
 
pub fn get_label_detection(&self) -> &Option<ExpenseDetection>
The explicitly stated label of a detected element.
sourcepub fn value_detection(self, input: ExpenseDetection) -> Self
 
pub fn value_detection(self, input: ExpenseDetection) -> Self
The value of a detected element. Present in explicit and implicit elements.
sourcepub fn set_value_detection(self, input: Option<ExpenseDetection>) -> Self
 
pub fn set_value_detection(self, input: Option<ExpenseDetection>) -> Self
The value of a detected element. Present in explicit and implicit elements.
sourcepub fn get_value_detection(&self) -> &Option<ExpenseDetection>
 
pub fn get_value_detection(&self) -> &Option<ExpenseDetection>
The value of a detected element. Present in explicit and implicit elements.
sourcepub fn page_number(self, input: i32) -> Self
 
pub fn page_number(self, input: i32) -> Self
The page number the value was detected on.
sourcepub fn set_page_number(self, input: Option<i32>) -> Self
 
pub fn set_page_number(self, input: Option<i32>) -> Self
The page number the value was detected on.
sourcepub fn get_page_number(&self) -> &Option<i32>
 
pub fn get_page_number(&self) -> &Option<i32>
The page number the value was detected on.
sourcepub fn currency(self, input: ExpenseCurrency) -> Self
 
pub fn currency(self, input: ExpenseCurrency) -> Self
Shows the kind of currency, both the code and confidence associated with any monatary value detected.
sourcepub fn set_currency(self, input: Option<ExpenseCurrency>) -> Self
 
pub fn set_currency(self, input: Option<ExpenseCurrency>) -> Self
Shows the kind of currency, both the code and confidence associated with any monatary value detected.
sourcepub fn get_currency(&self) -> &Option<ExpenseCurrency>
 
pub fn get_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, input: ExpenseGroupProperty) -> Self
 
pub fn group_properties(self, input: ExpenseGroupProperty) -> Self
Appends an item to group_properties.
To override the contents of this collection use set_group_properties.
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.
sourcepub fn set_group_properties(
    self,
    input: Option<Vec<ExpenseGroupProperty>>
) -> Self
 
pub fn set_group_properties( self, input: Option<Vec<ExpenseGroupProperty>> ) -> Self
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.
sourcepub fn get_group_properties(&self) -> &Option<Vec<ExpenseGroupProperty>>
 
pub fn get_group_properties(&self) -> &Option<Vec<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.
sourcepub fn build(self) -> ExpenseField
 
pub fn build(self) -> ExpenseField
Consumes the builder and constructs a ExpenseField.
Trait Implementations§
source§impl Clone for ExpenseFieldBuilder
 
impl Clone for ExpenseFieldBuilder
source§fn clone(&self) -> ExpenseFieldBuilder
 
fn clone(&self) -> ExpenseFieldBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExpenseFieldBuilder
 
impl Debug for ExpenseFieldBuilder
source§impl Default for ExpenseFieldBuilder
 
impl Default for ExpenseFieldBuilder
source§fn default() -> ExpenseFieldBuilder
 
fn default() -> ExpenseFieldBuilder
source§impl PartialEq for ExpenseFieldBuilder
 
impl PartialEq for ExpenseFieldBuilder
source§fn eq(&self, other: &ExpenseFieldBuilder) -> bool
 
fn eq(&self, other: &ExpenseFieldBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExpenseFieldBuilder
Auto Trait Implementations§
impl Freeze for ExpenseFieldBuilder
impl RefUnwindSafe for ExpenseFieldBuilder
impl Send for ExpenseFieldBuilder
impl Sync for ExpenseFieldBuilder
impl Unpin for ExpenseFieldBuilder
impl UnwindSafe for ExpenseFieldBuilder
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