Enum stripe::PlanAggregateUsage
source · pub enum PlanAggregateUsage {
LastDuringPeriod,
LastEver,
Max,
Sum,
}
Expand description
An enum representing the possible values of an Plan
’s aggregate_usage
field.
Variants§
Implementations§
Trait Implementations§
source§impl AsRef<str> for PlanAggregateUsage
impl AsRef<str> for PlanAggregateUsage
source§impl Clone for PlanAggregateUsage
impl Clone for PlanAggregateUsage
source§fn clone(&self) -> PlanAggregateUsage
fn clone(&self) -> PlanAggregateUsage
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 PlanAggregateUsage
impl Debug for PlanAggregateUsage
source§impl Default for PlanAggregateUsage
impl Default for PlanAggregateUsage
source§impl<'de> Deserialize<'de> for PlanAggregateUsage
impl<'de> Deserialize<'de> for PlanAggregateUsage
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 PlanAggregateUsage
impl Display for PlanAggregateUsage
source§impl PartialEq for PlanAggregateUsage
impl PartialEq for PlanAggregateUsage
source§fn eq(&self, other: &PlanAggregateUsage) -> bool
fn eq(&self, other: &PlanAggregateUsage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PlanAggregateUsage
impl Serialize for PlanAggregateUsage
impl Copy for PlanAggregateUsage
impl Eq for PlanAggregateUsage
impl StructuralPartialEq for PlanAggregateUsage
Auto Trait Implementations§
impl Freeze for PlanAggregateUsage
impl RefUnwindSafe for PlanAggregateUsage
impl Send for PlanAggregateUsage
impl Sync for PlanAggregateUsage
impl Unpin for PlanAggregateUsage
impl UnwindSafe for PlanAggregateUsage
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§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.