Struct aws_sdk_textract::types::builders::LineItemFieldsBuilder
source · #[non_exhaustive]pub struct LineItemFieldsBuilder { /* private fields */ }
Expand description
A builder for LineItemFields
.
Implementations§
source§impl LineItemFieldsBuilder
impl LineItemFieldsBuilder
sourcepub fn line_item_expense_fields(self, input: ExpenseField) -> Self
pub fn line_item_expense_fields(self, input: ExpenseField) -> Self
Appends an item to line_item_expense_fields
.
To override the contents of this collection use set_line_item_expense_fields
.
ExpenseFields used to show information from detected lines on a table.
sourcepub fn set_line_item_expense_fields(
self,
input: Option<Vec<ExpenseField>>
) -> Self
pub fn set_line_item_expense_fields( self, input: Option<Vec<ExpenseField>> ) -> Self
ExpenseFields used to show information from detected lines on a table.
sourcepub fn get_line_item_expense_fields(&self) -> &Option<Vec<ExpenseField>>
pub fn get_line_item_expense_fields(&self) -> &Option<Vec<ExpenseField>>
ExpenseFields used to show information from detected lines on a table.
sourcepub fn build(self) -> LineItemFields
pub fn build(self) -> LineItemFields
Consumes the builder and constructs a LineItemFields
.
Trait Implementations§
source§impl Clone for LineItemFieldsBuilder
impl Clone for LineItemFieldsBuilder
source§fn clone(&self) -> LineItemFieldsBuilder
fn clone(&self) -> LineItemFieldsBuilder
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 LineItemFieldsBuilder
impl Debug for LineItemFieldsBuilder
source§impl Default for LineItemFieldsBuilder
impl Default for LineItemFieldsBuilder
source§fn default() -> LineItemFieldsBuilder
fn default() -> LineItemFieldsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LineItemFieldsBuilder
impl PartialEq for LineItemFieldsBuilder
source§fn eq(&self, other: &LineItemFieldsBuilder) -> bool
fn eq(&self, other: &LineItemFieldsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LineItemFieldsBuilder
Auto Trait Implementations§
impl Freeze for LineItemFieldsBuilder
impl RefUnwindSafe for LineItemFieldsBuilder
impl Send for LineItemFieldsBuilder
impl Sync for LineItemFieldsBuilder
impl Unpin for LineItemFieldsBuilder
impl UnwindSafe for LineItemFieldsBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.