pub struct PremiumPlan {
pub price: f64,
pub currency: String,
pub interval: String,
pub credit: f64,
}Expand description
Premium: price in currency each interval, and credit, the dollars of
credit each paid invoice gives.
Fields§
§price: f64§currency: String§interval: String§credit: f64Trait Implementations§
Source§impl Clone for PremiumPlan
impl Clone for PremiumPlan
Source§impl Debug for PremiumPlan
impl Debug for PremiumPlan
Source§impl<'de> Deserialize<'de> for PremiumPlan
impl<'de> Deserialize<'de> for PremiumPlan
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 Forget for PremiumPlan
impl Freeze for PremiumPlan
impl Move for PremiumPlan
impl RefUnwindSafe for PremiumPlan
impl Send for PremiumPlanwhere
RawVecInner: Send,
impl Sync for PremiumPlanwhere
RawVecInner: Sync,
impl Unpin for PremiumPlan
impl UnsafeUnpin for PremiumPlan
impl UnwindSafe for PremiumPlanwhere
RawVecInner: UnwindSafe,
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