pub struct Plan {
pub name: String,
pub description: String,
pub monthly_price_in_cents: u32,
pub yearly_price_in_cents: u32,
pub price_model: String,
pub has_free_trial: bool,
pub unit_name: String,
pub bullets: Vec<String>,
}Fields§
§name: String§description: String§monthly_price_in_cents: u32§yearly_price_in_cents: u32§price_model: String§has_free_trial: bool§unit_name: String§bullets: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Plan
impl<'de> Deserialize<'de> for Plan
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 Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnwindSafe for Plan
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