pub struct SubscriptionUpdateProductParam {
pub adjustable_quantity: Option<SubscriptionUpdateProductAdjustableQuantityParam>,
pub prices: Vec<String>,
pub product: String,
}
Fields§
§adjustable_quantity: Option<SubscriptionUpdateProductAdjustableQuantityParam>
Control whether the quantity of the product can be adjusted.
prices: Vec<String>
The list of price IDs for the product that a subscription can be updated to.
product: String
The product id.
Implementations§
Trait Implementations§
Source§impl Clone for SubscriptionUpdateProductParam
impl Clone for SubscriptionUpdateProductParam
Source§fn clone(&self) -> SubscriptionUpdateProductParam
fn clone(&self) -> SubscriptionUpdateProductParam
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 moreAuto Trait Implementations§
impl Freeze for SubscriptionUpdateProductParam
impl RefUnwindSafe for SubscriptionUpdateProductParam
impl Send for SubscriptionUpdateProductParam
impl Sync for SubscriptionUpdateProductParam
impl Unpin for SubscriptionUpdateProductParam
impl UnwindSafe for SubscriptionUpdateProductParam
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