pub struct BillingCreditGrantsResourceScope {
pub price_type: Option<BillingCreditGrantsResourceScopePriceType>,
pub prices: Option<Vec<BillingCreditGrantsResourceApplicablePrice>>,
}
Fields§
§price_type: Option<BillingCreditGrantsResourceScopePriceType>
The price type that credit grants can apply to.
We currently only support the metered
price type.
This refers to prices that have a Billing Meter attached to them.
Cannot be used in combination with prices
.
prices: Option<Vec<BillingCreditGrantsResourceApplicablePrice>>
The prices that credit grants can apply to.
We currently only support metered
prices.
This refers to prices that have a Billing Meter attached to them.
Cannot be used in combination with price_type
.
Trait Implementations§
Source§impl Clone for BillingCreditGrantsResourceScope
impl Clone for BillingCreditGrantsResourceScope
Source§fn clone(&self) -> BillingCreditGrantsResourceScope
fn clone(&self) -> BillingCreditGrantsResourceScope
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 BillingCreditGrantsResourceScope
impl FromValueOpt for BillingCreditGrantsResourceScope
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for BillingCreditGrantsResourceScope
impl RefUnwindSafe for BillingCreditGrantsResourceScope
impl Send for BillingCreditGrantsResourceScope
impl Sync for BillingCreditGrantsResourceScope
impl Unpin for BillingCreditGrantsResourceScope
impl UnwindSafe for BillingCreditGrantsResourceScope
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