pub struct PlanInfo {
pub name: String,
pub tier: Option<String>,
pub features: Vec<String>,
pub price: Option<f64>,
pub currency: Option<String>,
pub billing_period: Option<String>,
}Expand description
Plan/subscription information.
Fields§
§name: String§tier: Option<String>§features: Vec<String>§price: Option<f64>§currency: Option<String>§billing_period: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlanInfo
impl<'de> Deserialize<'de> for PlanInfo
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
impl StructuralPartialEq for PlanInfo
Auto Trait Implementations§
impl Freeze for PlanInfo
impl RefUnwindSafe for PlanInfo
impl Send for PlanInfo
impl Sync for PlanInfo
impl Unpin for PlanInfo
impl UnsafeUnpin for PlanInfo
impl UnwindSafe for PlanInfo
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