pub struct BillingCreditGrantsResourceMonetaryAmount {
pub currency: Currency,
pub value: i64,
}
Fields§
§currency: Currency
Three-letter ISO currency code, in lowercase. Must be a supported currency.
value: i64
A positive integer representing the amount.
Trait Implementations§
Source§impl Clone for BillingCreditGrantsResourceMonetaryAmount
impl Clone for BillingCreditGrantsResourceMonetaryAmount
Source§fn clone(&self) -> BillingCreditGrantsResourceMonetaryAmount
fn clone(&self) -> BillingCreditGrantsResourceMonetaryAmount
Returns a duplicate 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 FromValueOpt for BillingCreditGrantsResourceMonetaryAmount
impl FromValueOpt for BillingCreditGrantsResourceMonetaryAmount
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for BillingCreditGrantsResourceMonetaryAmount
impl RefUnwindSafe for BillingCreditGrantsResourceMonetaryAmount
impl Send for BillingCreditGrantsResourceMonetaryAmount
impl Sync for BillingCreditGrantsResourceMonetaryAmount
impl Unpin for BillingCreditGrantsResourceMonetaryAmount
impl UnwindSafe for BillingCreditGrantsResourceMonetaryAmount
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