Struct aws_sdk_textract::types::DocumentGroup
source · #[non_exhaustive]pub struct DocumentGroup {
pub type: Option<String>,
pub split_documents: Option<Vec<SplitDocument>>,
pub detected_signatures: Option<Vec<DetectedSignature>>,
pub undetected_signatures: Option<Vec<UndetectedSignature>>,
}
Expand description
Summary information about documents grouped by the same document type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.type: Option<String>
The type of document that Amazon Textract has detected. See Analyze Lending Response Objects for a list of all types returned by Textract.
split_documents: Option<Vec<SplitDocument>>
An array that contains information about the pages of a document, defined by logical boundary.
detected_signatures: Option<Vec<DetectedSignature>>
A list of the detected signatures found in a document group.
undetected_signatures: Option<Vec<UndetectedSignature>>
A list of any expected signatures not found in a document group.
Implementations§
source§impl DocumentGroup
impl DocumentGroup
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The type of document that Amazon Textract has detected. See Analyze Lending Response Objects for a list of all types returned by Textract.
sourcepub fn split_documents(&self) -> &[SplitDocument]
pub fn split_documents(&self) -> &[SplitDocument]
An array that contains information about the pages of a document, defined by logical boundary.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .split_documents.is_none()
.
sourcepub fn detected_signatures(&self) -> &[DetectedSignature]
pub fn detected_signatures(&self) -> &[DetectedSignature]
A list of the detected signatures found in a document group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .detected_signatures.is_none()
.
sourcepub fn undetected_signatures(&self) -> &[UndetectedSignature]
pub fn undetected_signatures(&self) -> &[UndetectedSignature]
A list of any expected signatures not found in a document group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .undetected_signatures.is_none()
.
source§impl DocumentGroup
impl DocumentGroup
sourcepub fn builder() -> DocumentGroupBuilder
pub fn builder() -> DocumentGroupBuilder
Creates a new builder-style object to manufacture DocumentGroup
.
Trait Implementations§
source§impl Clone for DocumentGroup
impl Clone for DocumentGroup
source§fn clone(&self) -> DocumentGroup
fn clone(&self) -> DocumentGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DocumentGroup
impl Debug for DocumentGroup
source§impl PartialEq for DocumentGroup
impl PartialEq for DocumentGroup
source§fn eq(&self, other: &DocumentGroup) -> bool
fn eq(&self, other: &DocumentGroup) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DocumentGroup
Auto Trait Implementations§
impl Freeze for DocumentGroup
impl RefUnwindSafe for DocumentGroup
impl Send for DocumentGroup
impl Sync for DocumentGroup
impl Unpin for DocumentGroup
impl UnwindSafe for DocumentGroup
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