#[non_exhaustive]pub enum PriceTiersMode {
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 PriceTiersMode
impl Clone for PriceTiersMode
Source§fn clone(&self) -> PriceTiersMode
fn clone(&self) -> PriceTiersMode
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 PriceTiersMode
impl Debug for PriceTiersMode
Source§impl Deserialize for PriceTiersMode
impl Deserialize for PriceTiersMode
Source§impl Display for PriceTiersMode
impl Display for PriceTiersMode
Source§impl FromStr for PriceTiersMode
impl FromStr for PriceTiersMode
Source§impl FromValueOpt for PriceTiersMode
impl FromValueOpt for PriceTiersMode
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PriceTiersMode
impl PartialEq for PriceTiersMode
Source§impl Serialize for PriceTiersMode
impl Serialize for PriceTiersMode
impl Eq for PriceTiersMode
impl StructuralPartialEq for PriceTiersMode
Auto Trait Implementations§
impl Freeze for PriceTiersMode
impl RefUnwindSafe for PriceTiersMode
impl Send for PriceTiersMode
impl Sync for PriceTiersMode
impl Unpin for PriceTiersMode
impl UnwindSafe for PriceTiersMode
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