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