pub struct SubscriptionUpdateItem {
pub price_id: PriceID,
pub quantity: i64,
}
Fields§
§price_id: PriceID
Unique Paddle ID for this price, prefixed with pri_
.
quantity: i64
Quantity of this item to add to the subscription. If updating an existing item and not changing the quantity, you may omit quantity
.
Trait Implementations§
Source§impl Clone for SubscriptionUpdateItem
impl Clone for SubscriptionUpdateItem
Source§fn clone(&self) -> SubscriptionUpdateItem
fn clone(&self) -> SubscriptionUpdateItem
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 Debug for SubscriptionUpdateItem
impl Debug for SubscriptionUpdateItem
Source§impl<'de> Deserialize<'de> for SubscriptionUpdateItem
impl<'de> Deserialize<'de> for SubscriptionUpdateItem
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 SubscriptionUpdateItem
impl RefUnwindSafe for SubscriptionUpdateItem
impl Send for SubscriptionUpdateItem
impl Sync for SubscriptionUpdateItem
impl Unpin for SubscriptionUpdateItem
impl UnwindSafe for SubscriptionUpdateItem
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