Enum stripe::RecurringUsageType
source · pub enum RecurringUsageType {
Licensed,
Metered,
}
Expand description
An enum representing the possible values of an Recurring
’s usage_type
field.
Variants§
Implementations§
Trait Implementations§
source§impl AsRef<str> for RecurringUsageType
impl AsRef<str> for RecurringUsageType
source§impl Clone for RecurringUsageType
impl Clone for RecurringUsageType
source§fn clone(&self) -> RecurringUsageType
fn clone(&self) -> RecurringUsageType
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 RecurringUsageType
impl Debug for RecurringUsageType
source§impl Default for RecurringUsageType
impl Default for RecurringUsageType
source§impl<'de> Deserialize<'de> for RecurringUsageType
impl<'de> Deserialize<'de> for RecurringUsageType
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 RecurringUsageType
impl Display for RecurringUsageType
source§impl PartialEq for RecurringUsageType
impl PartialEq for RecurringUsageType
source§fn eq(&self, other: &RecurringUsageType) -> bool
fn eq(&self, other: &RecurringUsageType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RecurringUsageType
impl Serialize for RecurringUsageType
impl Copy for RecurringUsageType
impl Eq for RecurringUsageType
impl StructuralPartialEq for RecurringUsageType
Auto Trait Implementations§
impl RefUnwindSafe for RecurringUsageType
impl Send for RecurringUsageType
impl Sync for RecurringUsageType
impl Unpin for RecurringUsageType
impl UnwindSafe for RecurringUsageType
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.