pub struct BasePlan {
pub base_plan_id: String,
pub name: String,
pub price: String,
pub billing_period: String,
pub is_default: Option<bool>,
}Fields§
§base_plan_id: StringThe base plan ID (e.g., “monthly”, “weekly”, “yearly”)
name: StringThe display name of the base plan
price: StringThe price of the base plan
billing_period: StringThe billing period (e.g., “P1M” for monthly, “P1W” for weekly)
is_default: Option<bool>Whether this is the default base plan
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BasePlan
impl<'de> Deserialize<'de> for BasePlan
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 BasePlan
impl RefUnwindSafe for BasePlan
impl Send for BasePlan
impl Sync for BasePlan
impl Unpin for BasePlan
impl UnsafeUnpin for BasePlan
impl UnwindSafe for BasePlan
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