Struct aws_sdk_textract::types::builders::ExpenseDetectionBuilder   
source · #[non_exhaustive]pub struct ExpenseDetectionBuilder { /* private fields */ }Expand description
A builder for ExpenseDetection.
Implementations§
source§impl ExpenseDetectionBuilder
 
impl ExpenseDetectionBuilder
sourcepub fn text(self, input: impl Into<String>) -> Self
 
pub fn text(self, input: impl Into<String>) -> Self
The word or line of text recognized by Amazon Textract
sourcepub fn set_text(self, input: Option<String>) -> Self
 
pub fn set_text(self, input: Option<String>) -> Self
The word or line of text recognized by Amazon Textract
sourcepub fn get_text(&self) -> &Option<String>
 
pub fn get_text(&self) -> &Option<String>
The word or line of text recognized by Amazon Textract
sourcepub fn geometry(self, input: Geometry) -> Self
 
pub fn geometry(self, input: Geometry) -> Self
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 set_geometry(self, input: Option<Geometry>) -> Self
 
pub fn set_geometry(self, input: Option<Geometry>) -> Self
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 get_geometry(&self) -> &Option<Geometry>
 
pub fn get_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, input: f32) -> Self
 
pub fn confidence(self, input: f32) -> Self
The confidence in detection, as a percentage
sourcepub fn set_confidence(self, input: Option<f32>) -> Self
 
pub fn set_confidence(self, input: Option<f32>) -> Self
The confidence in detection, as a percentage
sourcepub fn get_confidence(&self) -> &Option<f32>
 
pub fn get_confidence(&self) -> &Option<f32>
The confidence in detection, as a percentage
sourcepub fn build(self) -> ExpenseDetection
 
pub fn build(self) -> ExpenseDetection
Consumes the builder and constructs a ExpenseDetection.
Trait Implementations§
source§impl Clone for ExpenseDetectionBuilder
 
impl Clone for ExpenseDetectionBuilder
source§fn clone(&self) -> ExpenseDetectionBuilder
 
fn clone(&self) -> ExpenseDetectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExpenseDetectionBuilder
 
impl Debug for ExpenseDetectionBuilder
source§impl Default for ExpenseDetectionBuilder
 
impl Default for ExpenseDetectionBuilder
source§fn default() -> ExpenseDetectionBuilder
 
fn default() -> ExpenseDetectionBuilder
source§impl PartialEq for ExpenseDetectionBuilder
 
impl PartialEq for ExpenseDetectionBuilder
impl StructuralPartialEq for ExpenseDetectionBuilder
Auto Trait Implementations§
impl Freeze for ExpenseDetectionBuilder
impl RefUnwindSafe for ExpenseDetectionBuilder
impl Send for ExpenseDetectionBuilder
impl Sync for ExpenseDetectionBuilder
impl Unpin for ExpenseDetectionBuilder
impl UnwindSafe for ExpenseDetectionBuilder
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> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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