Enum stripe::generated::billing::subscription::PlanInterval
source · pub enum PlanInterval {
Day,
Month,
Week,
Year,
}
Expand description
An enum representing the possible values of an SubscriptionPendingInvoiceItemInterval
’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§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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.