pub enum TaxRateTaxType {
Show 13 variants
AmusementTax,
CommunicationsTax,
Gst,
Hst,
Igst,
Jct,
LeaseTax,
Pst,
Qst,
Rst,
SalesTax,
ServiceTax,
Vat,
}
Expand description
An enum representing the possible values of an TaxRate
’s tax_type
field.
Variants§
Implementations§
Trait Implementations§
source§impl AsRef<str> for TaxRateTaxType
impl AsRef<str> for TaxRateTaxType
source§impl Clone for TaxRateTaxType
impl Clone for TaxRateTaxType
source§fn clone(&self) -> TaxRateTaxType
fn clone(&self) -> TaxRateTaxType
Returns a copy 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 TaxRateTaxType
impl Debug for TaxRateTaxType
source§impl Default for TaxRateTaxType
impl Default for TaxRateTaxType
source§impl<'de> Deserialize<'de> for TaxRateTaxType
impl<'de> Deserialize<'de> for TaxRateTaxType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for TaxRateTaxType
impl Display for TaxRateTaxType
source§impl PartialEq for TaxRateTaxType
impl PartialEq for TaxRateTaxType
source§fn eq(&self, other: &TaxRateTaxType) -> bool
fn eq(&self, other: &TaxRateTaxType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TaxRateTaxType
impl Serialize for TaxRateTaxType
impl Copy for TaxRateTaxType
impl Eq for TaxRateTaxType
impl StructuralPartialEq for TaxRateTaxType
Auto Trait Implementations§
impl RefUnwindSafe for TaxRateTaxType
impl Send for TaxRateTaxType
impl Sync for TaxRateTaxType
impl Unpin for TaxRateTaxType
impl UnwindSafe for TaxRateTaxType
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.