Struct aws_sdk_textract::types::builders::ExpenseTypeBuilder
source · #[non_exhaustive]pub struct ExpenseTypeBuilder { /* private fields */ }
Expand description
A builder for ExpenseType
.
Implementations§
source§impl ExpenseTypeBuilder
impl ExpenseTypeBuilder
sourcepub fn text(self, input: impl Into<String>) -> Self
pub fn text(self, input: impl Into<String>) -> Self
The word or line of text detected 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 detected by Amazon Textract.
sourcepub fn get_text(&self) -> &Option<String>
pub fn get_text(&self) -> &Option<String>
The word or line of text detected by Amazon Textract.
sourcepub fn confidence(self, input: f32) -> Self
pub fn confidence(self, input: f32) -> Self
The confidence of accuracy, as a percentage.
sourcepub fn set_confidence(self, input: Option<f32>) -> Self
pub fn set_confidence(self, input: Option<f32>) -> Self
The confidence of accuracy, as a percentage.
sourcepub fn get_confidence(&self) -> &Option<f32>
pub fn get_confidence(&self) -> &Option<f32>
The confidence of accuracy, as a percentage.
sourcepub fn build(self) -> ExpenseType
pub fn build(self) -> ExpenseType
Consumes the builder and constructs a ExpenseType
.
Trait Implementations§
source§impl Clone for ExpenseTypeBuilder
impl Clone for ExpenseTypeBuilder
source§fn clone(&self) -> ExpenseTypeBuilder
fn clone(&self) -> ExpenseTypeBuilder
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 ExpenseTypeBuilder
impl Debug for ExpenseTypeBuilder
source§impl Default for ExpenseTypeBuilder
impl Default for ExpenseTypeBuilder
source§fn default() -> ExpenseTypeBuilder
fn default() -> ExpenseTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ExpenseTypeBuilder
impl PartialEq for ExpenseTypeBuilder
source§fn eq(&self, other: &ExpenseTypeBuilder) -> bool
fn eq(&self, other: &ExpenseTypeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExpenseTypeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ExpenseTypeBuilder
impl Send for ExpenseTypeBuilder
impl Sync for ExpenseTypeBuilder
impl Unpin for ExpenseTypeBuilder
impl UnwindSafe for ExpenseTypeBuilder
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>
Creates a shared type from an unshared type.