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 ==
.