pub struct PricePreviewItem {
pub price_id: PriceID,
pub quantity: i64,
}
Fields§
§price_id: PriceID
Unique Paddle ID for this price, prefixed with pri_
.
quantity: i64
Quantity of the item to preview.
Trait Implementations§
Source§impl Clone for PricePreviewItem
impl Clone for PricePreviewItem
Source§fn clone(&self) -> PricePreviewItem
fn clone(&self) -> PricePreviewItem
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 PricePreviewItem
impl Debug for PricePreviewItem
Source§impl<'de> Deserialize<'de> for PricePreviewItem
impl<'de> Deserialize<'de> for PricePreviewItem
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 PricePreviewItem
impl RefUnwindSafe for PricePreviewItem
impl Send for PricePreviewItem
impl Sync for PricePreviewItem
impl Unpin for PricePreviewItem
impl UnwindSafe for PricePreviewItem
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