pub struct ProjectHeldPlan {
pub base_amount_cents: i64,
pub category: String,
pub category_display_name: Option<Option<String>>,
pub currency: String,
pub minimum_commitment: Option<BillingPlanMinimumCommitment>,
pub plan_code: String,
pub plan_name: String,
pub status: SubscriptionStatus,
pub tier_display_name: Option<String>,
}Fields§
§base_amount_cents: i64The plan’s recurring base fee in whole cents.
category: StringCategory slug, e.g. analytics or messaging.
category_display_name: Option<Option<String>>Display name for the subscription category; absent or null when unconfigured.
currency: StringISO currency code.
minimum_commitment: Option<BillingPlanMinimumCommitment>§plan_code: StringThis category’s plan.
plan_name: StringThe plan’s customer-facing name, e.g. Messaging Pro.
status: SubscriptionStatus§tier_display_name: Option<String>The plan’s tier as customers see it, e.g. Pro for Messaging Pro, where the category is already clear. Null when unconfigured.
Implementations§
Source§impl ProjectHeldPlan
impl ProjectHeldPlan
pub fn serialize<__S>(
__self: &ProjectHeldPlan,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> ProjectHeldPlan
impl<'de> ProjectHeldPlan
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProjectHeldPlan, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for ProjectHeldPlan
impl Clone for ProjectHeldPlan
Source§impl Debug for ProjectHeldPlan
impl Debug for ProjectHeldPlan
Source§impl<'de> Deserialize<'de> for ProjectHeldPlan
impl<'de> Deserialize<'de> for ProjectHeldPlan
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 ProjectHeldPlan
impl RefUnwindSafe for ProjectHeldPlan
impl Send for ProjectHeldPlan
impl Sync for ProjectHeldPlan
impl Unpin for ProjectHeldPlan
impl UnsafeUnpin for ProjectHeldPlan
impl UnwindSafe for ProjectHeldPlan
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