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 moresource§impl Debug for MonetaryAmount
impl Debug for MonetaryAmount
source§impl PartialEq<MonetaryAmount> for MonetaryAmount
impl PartialEq<MonetaryAmount> for MonetaryAmount
source§fn eq(&self, other: &MonetaryAmount) -> bool
fn eq(&self, other: &MonetaryAmount) -> bool
This method tests for
self and other values to be equal, and is used
by ==.