Struct aws_sdk_textract::types::LineItemGroup
source · #[non_exhaustive]pub struct LineItemGroup {
pub line_item_group_index: Option<i32>,
pub line_items: Option<Vec<LineItemFields>>,
}
Expand description
A grouping of tables which contain LineItems, with each table identified by the table's LineItemGroupIndex
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.line_item_group_index: Option<i32>
The number used to identify a specific table in a document. The first table encountered will have a LineItemGroupIndex of 1, the second 2, etc.
line_items: Option<Vec<LineItemFields>>
The breakdown of information on a particular line of a table.
Implementations§
source§impl LineItemGroup
impl LineItemGroup
sourcepub fn line_item_group_index(&self) -> Option<i32>
pub fn line_item_group_index(&self) -> Option<i32>
The number used to identify a specific table in a document. The first table encountered will have a LineItemGroupIndex of 1, the second 2, etc.
sourcepub fn line_items(&self) -> &[LineItemFields]
pub fn line_items(&self) -> &[LineItemFields]
The breakdown of information on a particular line of a table.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .line_items.is_none()
.
source§impl LineItemGroup
impl LineItemGroup
sourcepub fn builder() -> LineItemGroupBuilder
pub fn builder() -> LineItemGroupBuilder
Creates a new builder-style object to manufacture LineItemGroup
.
Trait Implementations§
source§impl Clone for LineItemGroup
impl Clone for LineItemGroup
source§fn clone(&self) -> LineItemGroup
fn clone(&self) -> LineItemGroup
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 LineItemGroup
impl Debug for LineItemGroup
source§impl PartialEq for LineItemGroup
impl PartialEq for LineItemGroup
source§fn eq(&self, other: &LineItemGroup) -> bool
fn eq(&self, other: &LineItemGroup) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LineItemGroup
Auto Trait Implementations§
impl Freeze for LineItemGroup
impl RefUnwindSafe for LineItemGroup
impl Send for LineItemGroup
impl Sync for LineItemGroup
impl Unpin for LineItemGroup
impl UnwindSafe for LineItemGroup
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.