#[repr(i16)]pub enum BillingInterval {
Monthly = 0,
Annually = 1,
}
Expand description
The subscriptions billing interval
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for BillingInterval
impl Clone for BillingInterval
Source§fn clone(&self) -> BillingInterval
fn clone(&self) -> BillingInterval
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 BillingInterval
impl Debug for BillingInterval
Source§impl<'de> Deserialize<'de> for BillingInterval
impl<'de> Deserialize<'de> for BillingInterval
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 BillingInterval
impl Display for BillingInterval
Source§impl From<&BillingInterval> for &str
impl From<&BillingInterval> for &str
Source§fn from(value: &BillingInterval) -> Self
fn from(value: &BillingInterval) -> Self
Converts to this type from the input type.
Source§impl Serialize for BillingInterval
impl Serialize for BillingInterval
Source§impl TryFrom<&str> for BillingInterval
impl TryFrom<&str> for BillingInterval
impl Copy for BillingInterval
Auto Trait Implementations§
impl Freeze for BillingInterval
impl RefUnwindSafe for BillingInterval
impl Send for BillingInterval
impl Sync for BillingInterval
impl Unpin for BillingInterval
impl UnwindSafe for BillingInterval
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