pub struct MarketplacePurchasePlan<'a> {
pub id: usize,
pub name: &'a str,
pub description: &'a str,
pub monthly_price_in_cents: usize,
pub yearly_price_in_cents: usize,
pub price_model: &'a str,
pub has_free_trial: bool,
pub unit_name: Option<&'a str>,
pub bullets: Vec<&'a str>,
}
Fields§
§id: usize
§name: &'a str
§description: &'a str
§monthly_price_in_cents: usize
§yearly_price_in_cents: usize
§price_model: &'a str
§has_free_trial: bool
§unit_name: Option<&'a str>
§bullets: Vec<&'a str>
Trait Implementations§
source§impl<'a> Debug for MarketplacePurchasePlan<'a>
impl<'a> Debug for MarketplacePurchasePlan<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for MarketplacePurchasePlan<'a>
impl<'de: 'a, 'a> Deserialize<'de> for MarketplacePurchasePlan<'a>
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<'a> RefUnwindSafe for MarketplacePurchasePlan<'a>
impl<'a> Send for MarketplacePurchasePlan<'a>
impl<'a> Sync for MarketplacePurchasePlan<'a>
impl<'a> Unpin for MarketplacePurchasePlan<'a>
impl<'a> UnwindSafe for MarketplacePurchasePlan<'a>
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