pub enum BillingPeriod {
Monthly,
Yearly,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for BillingPeriod
impl Clone for BillingPeriod
Source§fn clone(&self) -> BillingPeriod
fn clone(&self) -> BillingPeriod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BillingPeriod
impl Debug for BillingPeriod
Source§impl Default for BillingPeriod
impl Default for BillingPeriod
Source§fn default() -> BillingPeriod
fn default() -> BillingPeriod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BillingPeriod
impl<'de> Deserialize<'de> for BillingPeriod
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 Hash for BillingPeriod
impl Hash for BillingPeriod
Source§impl Ord for BillingPeriod
impl Ord for BillingPeriod
Source§fn cmp(&self, other: &BillingPeriod) -> Ordering
fn cmp(&self, other: &BillingPeriod) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BillingPeriod
impl PartialEq for BillingPeriod
Source§fn eq(&self, other: &BillingPeriod) -> bool
fn eq(&self, other: &BillingPeriod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BillingPeriod
impl PartialOrd for BillingPeriod
Source§impl Serialize for BillingPeriod
impl Serialize for BillingPeriod
impl Copy for BillingPeriod
impl Eq for BillingPeriod
impl StructuralPartialEq for BillingPeriod
Auto Trait Implementations§
impl Freeze for BillingPeriod
impl RefUnwindSafe for BillingPeriod
impl Send for BillingPeriod
impl Sync for BillingPeriod
impl Unpin for BillingPeriod
impl UnsafeUnpin for BillingPeriod
impl UnwindSafe for BillingPeriod
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