pub struct SubscriptionProduct {
pub description: String,
pub name: String,
pub product_id: String,
pub product_type: String,
pub title: String,
pub price: String,
pub base_plans: Option<Vec<BasePlan>>,
}Fields§
§description: String§name: String§product_id: String§product_type: String§title: String§price: String§base_plans: Option<Vec<BasePlan>>Available base plans for this subscription
Trait Implementations§
Source§impl Clone for SubscriptionProduct
impl Clone for SubscriptionProduct
Source§fn clone(&self) -> SubscriptionProduct
fn clone(&self) -> SubscriptionProduct
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubscriptionProduct
impl Debug for SubscriptionProduct
Source§impl Default for SubscriptionProduct
impl Default for SubscriptionProduct
Source§fn default() -> SubscriptionProduct
fn default() -> SubscriptionProduct
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubscriptionProduct
impl<'de> Deserialize<'de> for SubscriptionProduct
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 SubscriptionProduct
impl RefUnwindSafe for SubscriptionProduct
impl Send for SubscriptionProduct
impl Sync for SubscriptionProduct
impl Unpin for SubscriptionProduct
impl UnsafeUnpin for SubscriptionProduct
impl UnwindSafe for SubscriptionProduct
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