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
sourceimpl 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.
sourceimpl MonetaryAmount
impl MonetaryAmount
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MonetaryAmount.
Trait Implementations
sourceimpl Clone for MonetaryAmount
impl Clone for MonetaryAmount
sourcefn clone(&self) -> MonetaryAmount
fn clone(&self) -> MonetaryAmount
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for MonetaryAmount
impl Debug for MonetaryAmount
sourceimpl PartialEq<MonetaryAmount> for MonetaryAmount
impl PartialEq<MonetaryAmount> for MonetaryAmount
sourcefn eq(&self, other: &MonetaryAmount) -> bool
fn eq(&self, other: &MonetaryAmount) -> bool
impl StructuralPartialEq for MonetaryAmount
Auto Trait Implementations
impl RefUnwindSafe for MonetaryAmount
impl Send for MonetaryAmount
impl Sync for MonetaryAmount
impl Unpin for MonetaryAmount
impl UnwindSafe for MonetaryAmount
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more