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 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 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<ExpenseTypeBuilder> for ExpenseTypeBuilder
impl PartialEq<ExpenseTypeBuilder> 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 ==.