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