Enum stripe::SubscriptionStatus
source · pub enum SubscriptionStatus {
Active,
Canceled,
Incomplete,
IncompleteExpired,
PastDue,
Paused,
Trialing,
Unpaid,
}
Expand description
An enum representing the possible values of an Subscription
’s status
field.
Variants§
Implementations§
Trait Implementations§
source§impl AsRef<str> for SubscriptionStatus
impl AsRef<str> for SubscriptionStatus
source§impl Clone for SubscriptionStatus
impl Clone for SubscriptionStatus
source§fn clone(&self) -> SubscriptionStatus
fn clone(&self) -> SubscriptionStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SubscriptionStatus
impl Debug for SubscriptionStatus
source§impl Default for SubscriptionStatus
impl Default 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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for SubscriptionStatus
impl Display for SubscriptionStatus
source§impl PartialEq for SubscriptionStatus
impl PartialEq for SubscriptionStatus
source§fn eq(&self, other: &SubscriptionStatus) -> bool
fn eq(&self, other: &SubscriptionStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SubscriptionStatus
impl Serialize for SubscriptionStatus
impl Copy for SubscriptionStatus
impl Eq for SubscriptionStatus
impl StructuralPartialEq for SubscriptionStatus
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more
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
Compare self to
key
and return true
if they are equal.