pub struct TransactionSubscriptionProductCreate {
pub name: String,
pub description: Option<String>,
pub tax_category: TaxCategory,
pub image_url: Option<String>,
pub custom_data: Option<Value>,
}
Fields§
§name: String
Name of this product.
description: Option<String>
Short description for this product.
tax_category: TaxCategory
Tax category for this product. Used for charging the correct rate of tax. Selected tax category must be enabled on your Paddle account.
image_url: Option<String>
Image for this product. Included in the checkout and on some customer documents.
custom_data: Option<Value>
Your own structured key-value data.
Trait Implementations§
Source§impl Clone for TransactionSubscriptionProductCreate
impl Clone for TransactionSubscriptionProductCreate
Source§fn clone(&self) -> TransactionSubscriptionProductCreate
fn clone(&self) -> TransactionSubscriptionProductCreate
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 TransactionSubscriptionProductCreate
impl<'de> Deserialize<'de> for TransactionSubscriptionProductCreate
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 TransactionSubscriptionProductCreate
impl RefUnwindSafe for TransactionSubscriptionProductCreate
impl Send for TransactionSubscriptionProductCreate
impl Sync for TransactionSubscriptionProductCreate
impl Unpin for TransactionSubscriptionProductCreate
impl UnwindSafe for TransactionSubscriptionProductCreate
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