Struct aws_sdk_textract::types::builders::ExpenseCurrencyBuilder
source · #[non_exhaustive]pub struct ExpenseCurrencyBuilder { /* private fields */ }
Expand description
A builder for ExpenseCurrency
.
Implementations§
source§impl ExpenseCurrencyBuilder
impl ExpenseCurrencyBuilder
sourcepub fn code(self, input: impl Into<String>) -> Self
pub fn code(self, input: impl Into<String>) -> Self
Currency code for detected currency. the current supported codes are:
-
USD
-
EUR
-
GBP
-
CAD
-
INR
-
JPY
-
CHF
-
AUD
-
CNY
-
BZR
-
SEK
-
HKD
sourcepub fn set_code(self, input: Option<String>) -> Self
pub fn set_code(self, input: Option<String>) -> Self
Currency code for detected currency. the current supported codes are:
-
USD
-
EUR
-
GBP
-
CAD
-
INR
-
JPY
-
CHF
-
AUD
-
CNY
-
BZR
-
SEK
-
HKD
sourcepub fn get_code(&self) -> &Option<String>
pub fn get_code(&self) -> &Option<String>
Currency code for detected currency. the current supported codes are:
-
USD
-
EUR
-
GBP
-
CAD
-
INR
-
JPY
-
CHF
-
AUD
-
CNY
-
BZR
-
SEK
-
HKD
sourcepub fn confidence(self, input: f32) -> Self
pub fn confidence(self, input: f32) -> Self
Percentage confideence in the detected currency.
sourcepub fn set_confidence(self, input: Option<f32>) -> Self
pub fn set_confidence(self, input: Option<f32>) -> Self
Percentage confideence in the detected currency.
sourcepub fn get_confidence(&self) -> &Option<f32>
pub fn get_confidence(&self) -> &Option<f32>
Percentage confideence in the detected currency.
sourcepub fn build(self) -> ExpenseCurrency
pub fn build(self) -> ExpenseCurrency
Consumes the builder and constructs a ExpenseCurrency
.
Trait Implementations§
source§impl Clone for ExpenseCurrencyBuilder
impl Clone for ExpenseCurrencyBuilder
source§fn clone(&self) -> ExpenseCurrencyBuilder
fn clone(&self) -> ExpenseCurrencyBuilder
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 ExpenseCurrencyBuilder
impl Debug for ExpenseCurrencyBuilder
source§impl Default for ExpenseCurrencyBuilder
impl Default for ExpenseCurrencyBuilder
source§fn default() -> ExpenseCurrencyBuilder
fn default() -> ExpenseCurrencyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ExpenseCurrencyBuilder
impl PartialEq for ExpenseCurrencyBuilder
source§fn eq(&self, other: &ExpenseCurrencyBuilder) -> bool
fn eq(&self, other: &ExpenseCurrencyBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExpenseCurrencyBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ExpenseCurrencyBuilder
impl Send for ExpenseCurrencyBuilder
impl Sync for ExpenseCurrencyBuilder
impl Unpin for ExpenseCurrencyBuilder
impl UnwindSafe for ExpenseCurrencyBuilder
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.