#[non_exhaustive]pub enum LineItemsTaxAmountTaxabilityReason {
Show 16 variants
CustomerExempt,
NotCollecting,
NotSubjectToTax,
NotSupported,
PortionProductExempt,
PortionReducedRated,
PortionStandardRated,
ProductExempt,
ProductExemptHoliday,
ProportionallyRated,
ReducedRated,
ReverseCharge,
StandardRated,
TaxableBasisReduced,
ZeroRated,
Unknown(String),
}
Expand description
The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.
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.
CustomerExempt
NotCollecting
NotSubjectToTax
NotSupported
PortionProductExempt
PortionReducedRated
PortionStandardRated
ProductExempt
ProductExemptHoliday
ProportionallyRated
ReducedRated
ReverseCharge
StandardRated
TaxableBasisReduced
ZeroRated
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for LineItemsTaxAmountTaxabilityReason
impl Clone for LineItemsTaxAmountTaxabilityReason
Source§fn clone(&self) -> LineItemsTaxAmountTaxabilityReason
fn clone(&self) -> LineItemsTaxAmountTaxabilityReason
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 FromValueOpt for LineItemsTaxAmountTaxabilityReason
impl FromValueOpt for LineItemsTaxAmountTaxabilityReason
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for LineItemsTaxAmountTaxabilityReason
impl PartialEq for LineItemsTaxAmountTaxabilityReason
Source§fn eq(&self, other: &LineItemsTaxAmountTaxabilityReason) -> bool
fn eq(&self, other: &LineItemsTaxAmountTaxabilityReason) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for LineItemsTaxAmountTaxabilityReason
impl StructuralPartialEq for LineItemsTaxAmountTaxabilityReason
Auto Trait Implementations§
impl Freeze for LineItemsTaxAmountTaxabilityReason
impl RefUnwindSafe for LineItemsTaxAmountTaxabilityReason
impl Send for LineItemsTaxAmountTaxabilityReason
impl Sync for LineItemsTaxAmountTaxabilityReason
impl Unpin for LineItemsTaxAmountTaxabilityReason
impl UnwindSafe for LineItemsTaxAmountTaxabilityReason
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