#[non_exhaustive]pub enum PlanTiersMode {
Graduated,
Volume,
Unknown(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Graduated
Volume
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for PlanTiersMode
impl Clone for PlanTiersMode
Source§fn clone(&self) -> PlanTiersMode
fn clone(&self) -> PlanTiersMode
Returns a duplicate 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 Deserialize for PlanTiersMode
impl Deserialize for PlanTiersMode
Source§impl Display for PlanTiersMode
impl Display for PlanTiersMode
Source§impl FromStr for PlanTiersMode
impl FromStr for PlanTiersMode
Source§impl FromValueOpt for PlanTiersMode
impl FromValueOpt for PlanTiersMode
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PlanTiersMode
impl PartialEq for PlanTiersMode
Source§impl Serialize for PlanTiersMode
impl Serialize for PlanTiersMode
impl Eq for PlanTiersMode
impl StructuralPartialEq for PlanTiersMode
Auto Trait Implementations§
impl Freeze for PlanTiersMode
impl RefUnwindSafe for PlanTiersMode
impl Send for PlanTiersMode
impl Sync for PlanTiersMode
impl Unpin for PlanTiersMode
impl UnwindSafe for PlanTiersMode
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