#[non_exhaustive]pub enum SubscriptionStatus {
Active,
Canceled,
PastDue,
Paused,
Trialing,
}
Expand description
Status of this subscription. Set automatically by Paddle. Use the pause subscription or cancel subscription operations to change.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Active
Subscription is active. Paddle is billing for this subscription and related transactions aren’t past due.
Canceled
Subscription is canceled. Automatically set by Paddle when a subscription is canceled. When a subscription is set to cancel on the next billing period, a scheduled change for the cancellation is created. The subscription status moves to canceled when the scheduled change takes effect.
PastDue
Subscription has an overdue payment. Automatically set by Paddle when payment fails for an automatically-collected transaction, or when payment terms have elapsed for a manually-collected transaction (an invoice).
Paused
Subscription is paused. Automatically set by Paddle when a subscription is paused. When a subscription is set to pause on the next billing period, a scheduled change for the pause is created. The subscription status moves to paused
when the scheduled change takes effect.
Trialing
Subscription is in trial.
Trait Implementations§
Source§impl Clone for SubscriptionStatus
impl Clone for SubscriptionStatus
Source§fn clone(&self) -> SubscriptionStatus
fn clone(&self) -> SubscriptionStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SubscriptionStatus
impl Debug for SubscriptionStatus
Source§impl<'de> Deserialize<'de> for SubscriptionStatus
impl<'de> Deserialize<'de> for SubscriptionStatus
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>,
Source§impl Hash for SubscriptionStatus
impl Hash for SubscriptionStatus
Source§impl Ord for SubscriptionStatus
impl Ord for SubscriptionStatus
Source§fn cmp(&self, other: &SubscriptionStatus) -> Ordering
fn cmp(&self, other: &SubscriptionStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for SubscriptionStatus
impl PartialEq for SubscriptionStatus
Source§impl PartialOrd for SubscriptionStatus
impl PartialOrd for SubscriptionStatus
Source§impl Serialize for SubscriptionStatus
impl Serialize for SubscriptionStatus
impl Eq for SubscriptionStatus
impl StructuralPartialEq for SubscriptionStatus
Auto Trait Implementations§
impl Freeze for SubscriptionStatus
impl RefUnwindSafe for SubscriptionStatus
impl Send for SubscriptionStatus
impl Sync for SubscriptionStatus
impl Unpin for SubscriptionStatus
impl UnwindSafe for SubscriptionStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.