pub enum BillingSystem {
Stripe,
Metronome,
}Expand description
Which billing system the account is on. Shape of usage/spend differs.
Variants§
Trait Implementations§
Source§impl Clone for BillingSystem
impl Clone for BillingSystem
Source§fn clone(&self) -> BillingSystem
fn clone(&self) -> BillingSystem
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 moreimpl Copy for BillingSystem
Source§impl Debug for BillingSystem
impl Debug for BillingSystem
Source§impl Default for BillingSystem
impl Default for BillingSystem
Source§fn default() -> BillingSystem
fn default() -> BillingSystem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BillingSystem
impl<'de> Deserialize<'de> for BillingSystem
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
impl Eq for BillingSystem
Source§impl Hash for BillingSystem
impl Hash for BillingSystem
Source§impl Ord for BillingSystem
impl Ord for BillingSystem
Source§fn cmp(&self, other: &BillingSystem) -> Ordering
fn cmp(&self, other: &BillingSystem) -> 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 BillingSystem
impl PartialEq for BillingSystem
Source§fn eq(&self, other: &BillingSystem) -> bool
fn eq(&self, other: &BillingSystem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BillingSystem
impl PartialOrd for BillingSystem
Source§impl Serialize for BillingSystem
impl Serialize for BillingSystem
impl StructuralPartialEq for BillingSystem
Auto Trait Implementations§
impl Freeze for BillingSystem
impl RefUnwindSafe for BillingSystem
impl Send for BillingSystem
impl Sync for BillingSystem
impl Unpin for BillingSystem
impl UnsafeUnpin for BillingSystem
impl UnwindSafe for BillingSystem
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