pub enum TaxProductResourceTaxRateDetailsRateType {
FlatAmount,
Percentage,
}
Expand description
Indicates the type of tax rate applied to the taxable amount.
This value can be null
when no tax applies to the location.
This field is only present for TaxRates created by Stripe Tax.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TaxProductResourceTaxRateDetailsRateType
impl Clone for TaxProductResourceTaxRateDetailsRateType
Source§fn clone(&self) -> TaxProductResourceTaxRateDetailsRateType
fn clone(&self) -> TaxProductResourceTaxRateDetailsRateType
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 TaxProductResourceTaxRateDetailsRateType
impl FromValueOpt for TaxProductResourceTaxRateDetailsRateType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for TaxProductResourceTaxRateDetailsRateType
impl PartialEq for TaxProductResourceTaxRateDetailsRateType
Source§fn eq(&self, other: &TaxProductResourceTaxRateDetailsRateType) -> bool
fn eq(&self, other: &TaxProductResourceTaxRateDetailsRateType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for TaxProductResourceTaxRateDetailsRateType
impl Eq for TaxProductResourceTaxRateDetailsRateType
impl StructuralPartialEq for TaxProductResourceTaxRateDetailsRateType
Auto Trait Implementations§
impl Freeze for TaxProductResourceTaxRateDetailsRateType
impl RefUnwindSafe for TaxProductResourceTaxRateDetailsRateType
impl Send for TaxProductResourceTaxRateDetailsRateType
impl Sync for TaxProductResourceTaxRateDetailsRateType
impl Unpin for TaxProductResourceTaxRateDetailsRateType
impl UnwindSafe for TaxProductResourceTaxRateDetailsRateType
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