pub struct BillingCreditGrantsResourceAmount {
pub monetary: Option<BillingCreditGrantsResourceMonetaryAmount>,
pub type_: BillingCreditGrantsResourceAmountType,
}
Fields§
§monetary: Option<BillingCreditGrantsResourceMonetaryAmount>
The monetary amount.
type_: BillingCreditGrantsResourceAmountType
The type of this amount. We currently only support monetary
billing credits.
Trait Implementations§
Source§impl Clone for BillingCreditGrantsResourceAmount
impl Clone for BillingCreditGrantsResourceAmount
Source§fn clone(&self) -> BillingCreditGrantsResourceAmount
fn clone(&self) -> BillingCreditGrantsResourceAmount
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 BillingCreditGrantsResourceAmount
impl FromValueOpt for BillingCreditGrantsResourceAmount
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for BillingCreditGrantsResourceAmount
impl RefUnwindSafe for BillingCreditGrantsResourceAmount
impl Send for BillingCreditGrantsResourceAmount
impl Sync for BillingCreditGrantsResourceAmount
impl Unpin for BillingCreditGrantsResourceAmount
impl UnwindSafe for BillingCreditGrantsResourceAmount
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