pub struct SubscriptionChargeCreateWithPrice {
pub quantity: i64,
pub price: SubscriptionChargeCreateWithPricePrice,
}
Fields§
§quantity: i64
Quantity to bill for.
price: SubscriptionChargeCreateWithPricePrice
Price object for a non-catalog item to bill for. Include a product_id
to relate this non-catalog price to an existing catalog price.
Trait Implementations§
Source§impl Clone for SubscriptionChargeCreateWithPrice
impl Clone for SubscriptionChargeCreateWithPrice
Source§fn clone(&self) -> SubscriptionChargeCreateWithPrice
fn clone(&self) -> SubscriptionChargeCreateWithPrice
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<'de> Deserialize<'de> for SubscriptionChargeCreateWithPrice
impl<'de> Deserialize<'de> for SubscriptionChargeCreateWithPrice
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SubscriptionChargeCreateWithPrice
impl RefUnwindSafe for SubscriptionChargeCreateWithPrice
impl Send for SubscriptionChargeCreateWithPrice
impl Sync for SubscriptionChargeCreateWithPrice
impl Unpin for SubscriptionChargeCreateWithPrice
impl UnwindSafe for SubscriptionChargeCreateWithPrice
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