#[non_exhaustive]pub enum PriceTaxBehavior {
Exclusive,
Inclusive,
Unspecified,
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.
Exclusive
Inclusive
Unspecified
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for PriceTaxBehavior
impl Clone for PriceTaxBehavior
Source§fn clone(&self) -> PriceTaxBehavior
fn clone(&self) -> PriceTaxBehavior
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 PriceTaxBehavior
impl Debug for PriceTaxBehavior
Source§impl Deserialize for PriceTaxBehavior
impl Deserialize for PriceTaxBehavior
Source§impl Display for PriceTaxBehavior
impl Display for PriceTaxBehavior
Source§impl FromStr for PriceTaxBehavior
impl FromStr for PriceTaxBehavior
Source§impl FromValueOpt for PriceTaxBehavior
impl FromValueOpt for PriceTaxBehavior
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PriceTaxBehavior
impl PartialEq for PriceTaxBehavior
Source§impl Serialize for PriceTaxBehavior
impl Serialize for PriceTaxBehavior
impl Eq for PriceTaxBehavior
impl StructuralPartialEq for PriceTaxBehavior
Auto Trait Implementations§
impl Freeze for PriceTaxBehavior
impl RefUnwindSafe for PriceTaxBehavior
impl Send for PriceTaxBehavior
impl Sync for PriceTaxBehavior
impl Unpin for PriceTaxBehavior
impl UnwindSafe for PriceTaxBehavior
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