pub enum SubscriptionType {
SubscriptionTypeUnspecified,
SubscriptionTypeFreeTrial,
SubscriptionTypeSponsoredPro,
SubscriptionTypeProPlan,
SubscriptionTypeEnterprisePlan,
SubscriptionTypeLightPlan,
SubscriptionTypeReviewReward,
}Expand description
SubscriptionType : - SUBSCRIPTION_TYPE_UNSPECIFIED: Subscription plan not yet assigned - SUBSCRIPTION_TYPE_FREE_TRIAL: Workspace is currently in the free trial period - SUBSCRIPTION_TYPE_SPONSORED_PRO: Workspace is on the sponsored pro plan with full pro features - SUBSCRIPTION_TYPE_PRO_PLAN: Workspace has an active Pro plan subscription - SUBSCRIPTION_TYPE_ENTERPRISE_PLAN: Workspace is managed under an Enterprise contract - SUBSCRIPTION_TYPE_LIGHT_PLAN: Workspace has an active Light plan subscription - SUBSCRIPTION_TYPE_REVIEW_REWARD: Workspace has the Pro plan for free for a while, in exchange for a review
- SUBSCRIPTION_TYPE_UNSPECIFIED: Subscription plan not yet assigned - SUBSCRIPTION_TYPE_FREE_TRIAL: Workspace is currently in the free trial period - SUBSCRIPTION_TYPE_SPONSORED_PRO: Workspace is on the sponsored pro plan with full pro features - SUBSCRIPTION_TYPE_PRO_PLAN: Workspace has an active Pro plan subscription - SUBSCRIPTION_TYPE_ENTERPRISE_PLAN: Workspace is managed under an Enterprise contract - SUBSCRIPTION_TYPE_LIGHT_PLAN: Workspace has an active Light plan subscription - SUBSCRIPTION_TYPE_REVIEW_REWARD: Workspace has the Pro plan for free for a while, in exchange for a review
Variants§
SubscriptionTypeUnspecified
SubscriptionTypeFreeTrial
SubscriptionTypeSponsoredPro
SubscriptionTypeProPlan
SubscriptionTypeEnterprisePlan
SubscriptionTypeLightPlan
SubscriptionTypeReviewReward
Trait Implementations§
Source§impl Clone for SubscriptionType
impl Clone for SubscriptionType
impl Copy for SubscriptionType
Source§impl Debug for SubscriptionType
impl Debug for SubscriptionType
Source§impl Default for SubscriptionType
impl Default for SubscriptionType
Source§fn default() -> SubscriptionType
fn default() -> SubscriptionType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubscriptionType
impl<'de> Deserialize<'de> for SubscriptionType
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
Source§impl Display for SubscriptionType
impl Display for SubscriptionType
impl Eq for SubscriptionType
Source§impl Hash for SubscriptionType
impl Hash for SubscriptionType
Source§impl Ord for SubscriptionType
impl Ord for SubscriptionType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SubscriptionType
impl PartialEq for SubscriptionType
Source§impl PartialOrd for SubscriptionType
impl PartialOrd for SubscriptionType
Source§impl Serialize for SubscriptionType
impl Serialize for SubscriptionType
impl StructuralPartialEq for SubscriptionType
Auto Trait Implementations§
impl Forget for SubscriptionType
impl Freeze for SubscriptionType
impl Move for SubscriptionType
impl RefUnwindSafe for SubscriptionType
impl Send for SubscriptionType
impl Sync for SubscriptionType
impl Unpin for SubscriptionType
impl UnsafeUnpin for SubscriptionType
impl UnwindSafe for SubscriptionType
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