pub struct StorePlan {
pub id: StorePlanId,
pub name: String,
pub description: String,
pub price_model: PriceModel,
pub limits: PlanLimits,
pub tags: Vec<String>,
pub metadata: BTreeMap<String, Value>,
}Expand description
Plan associated with a store product.
Fields§
§id: StorePlanIdPlan identifier.
name: StringPlan name.
description: StringPlan description.
price_model: PriceModelPricing model.
limits: PlanLimitsPlan limits.
Tags for classification.
metadata: BTreeMap<String, Value>Additional metadata.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StorePlan
impl<'de> Deserialize<'de> for StorePlan
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 StorePlan
Auto Trait Implementations§
impl Freeze for StorePlan
impl RefUnwindSafe for StorePlan
impl Send for StorePlan
impl Sync for StorePlan
impl Unpin for StorePlan
impl UnwindSafe for StorePlan
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