Struct aws_sdk_devicefarm::model::MonetaryAmount
source · #[non_exhaustive]pub struct MonetaryAmount { /* private fields */ }Expand description
A number that represents the monetary amount for an offering or transaction.
Implementations§
source§impl MonetaryAmount
impl MonetaryAmount
sourcepub fn currency_code(&self) -> Option<&CurrencyCode>
pub fn currency_code(&self) -> Option<&CurrencyCode>
The currency code of a monetary amount. For example, USD means U.S. dollars.
source§impl MonetaryAmount
impl MonetaryAmount
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MonetaryAmount.
Trait Implementations§
source§impl Clone for MonetaryAmount
impl Clone for MonetaryAmount
source§fn clone(&self) -> MonetaryAmount
fn clone(&self) -> MonetaryAmount
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 more