Enum stripe::SubscriptionItemInterval
source · pub enum SubscriptionItemInterval {
Day,
Month,
Week,
Year,
}
Expand description
An enum representing the possible values of an SubscriptionItemPriceDataRecurring
’s interval
field.
Variants§
Implementations§
Trait Implementations§
source§impl AsRef<str> for PlanInterval
impl AsRef<str> for PlanInterval
source§impl Clone for PlanInterval
impl Clone for PlanInterval
source§fn clone(&self) -> PlanInterval
fn clone(&self) -> PlanInterval
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 PlanInterval
impl Debug for PlanInterval
source§impl Default for PlanInterval
impl Default for PlanInterval
source§impl<'de> Deserialize<'de> for PlanInterval
impl<'de> Deserialize<'de> for PlanInterval
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 PlanInterval
impl Display for PlanInterval
source§impl PartialEq for PlanInterval
impl PartialEq for PlanInterval
source§fn eq(&self, other: &PlanInterval) -> bool
fn eq(&self, other: &PlanInterval) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PlanInterval
impl Serialize for PlanInterval
impl Copy for PlanInterval
impl Eq for PlanInterval
impl StructuralPartialEq for PlanInterval
Auto Trait Implementations§
impl Freeze for PlanInterval
impl RefUnwindSafe for PlanInterval
impl Send for PlanInterval
impl Sync for PlanInterval
impl Unpin for PlanInterval
impl UnwindSafe for PlanInterval
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§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.