pub struct TaxProductResourceLineItemTaxRateDetails {
pub display_name: String,
pub percentage_decimal: String,
pub tax_type: TaxProductResourceLineItemTaxRateDetailsTaxType,
}
Fields§
§display_name: String
A localized display name for tax type, intended to be human-readable.
For example, “Local Sales and Use Tax”, “Value-added tax (VAT)”, or “Umsatzsteuer (USt.)”.
percentage_decimal: String
The tax rate percentage as a string.
For example, 8.5% is represented as “8.5”.
tax_type: TaxProductResourceLineItemTaxRateDetailsTaxType
The tax type, such as vat
or sales_tax
.
Trait Implementations§
source§impl Clone for TaxProductResourceLineItemTaxRateDetails
impl Clone for TaxProductResourceLineItemTaxRateDetails
source§fn clone(&self) -> TaxProductResourceLineItemTaxRateDetails
fn clone(&self) -> TaxProductResourceLineItemTaxRateDetails
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 Default for TaxProductResourceLineItemTaxRateDetails
impl Default for TaxProductResourceLineItemTaxRateDetails
source§fn default() -> TaxProductResourceLineItemTaxRateDetails
fn default() -> TaxProductResourceLineItemTaxRateDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaxProductResourceLineItemTaxRateDetails
impl<'de> Deserialize<'de> for TaxProductResourceLineItemTaxRateDetails
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
Auto Trait Implementations§
impl RefUnwindSafe for TaxProductResourceLineItemTaxRateDetails
impl Send for TaxProductResourceLineItemTaxRateDetails
impl Sync for TaxProductResourceLineItemTaxRateDetails
impl Unpin for TaxProductResourceLineItemTaxRateDetails
impl UnwindSafe for TaxProductResourceLineItemTaxRateDetails
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