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