Struct aws_sdk_textract::types::LendingDetection
source · #[non_exhaustive]pub struct LendingDetection {
pub text: Option<String>,
pub selection_status: Option<SelectionStatus>,
pub geometry: Option<Geometry>,
pub confidence: Option<f32>,
}
Expand description
The results extracted for a lending document.
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.text: Option<String>
The text extracted for a detected value in a lending document.
selection_status: Option<SelectionStatus>
The selection status of a selection element, such as an option button or check box.
geometry: Option<Geometry>
Information about where the following items are located on a document page: detected page, text, key-value pairs, tables, table cells, and selection elements.
confidence: Option<f32>
The confidence level for the text of a detected value in a lending document.
Implementations§
source§impl LendingDetection
impl LendingDetection
sourcepub fn text(&self) -> Option<&str>
pub fn text(&self) -> Option<&str>
The text extracted for a detected value in a lending document.
sourcepub fn selection_status(&self) -> Option<&SelectionStatus>
pub fn selection_status(&self) -> Option<&SelectionStatus>
The selection status of a selection element, such as an option button or check box.
sourcepub fn geometry(&self) -> Option<&Geometry>
pub fn geometry(&self) -> Option<&Geometry>
Information about where the following items are located on a document page: detected page, text, key-value pairs, tables, table cells, and selection elements.
sourcepub fn confidence(&self) -> Option<f32>
pub fn confidence(&self) -> Option<f32>
The confidence level for the text of a detected value in a lending document.
source§impl LendingDetection
impl LendingDetection
sourcepub fn builder() -> LendingDetectionBuilder
pub fn builder() -> LendingDetectionBuilder
Creates a new builder-style object to manufacture LendingDetection
.
Trait Implementations§
source§impl Clone for LendingDetection
impl Clone for LendingDetection
source§fn clone(&self) -> LendingDetection
fn clone(&self) -> LendingDetection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LendingDetection
impl Debug for LendingDetection
source§impl PartialEq for LendingDetection
impl PartialEq for LendingDetection
source§fn eq(&self, other: &LendingDetection) -> bool
fn eq(&self, other: &LendingDetection) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LendingDetection
Auto Trait Implementations§
impl Freeze for LendingDetection
impl RefUnwindSafe for LendingDetection
impl Send for LendingDetection
impl Sync for LendingDetection
impl Unpin for LendingDetection
impl UnwindSafe for LendingDetection
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