pub struct TaxProductResourceLineItemTaxRateDetails {
pub display_name: String,
pub percentage_decimal: String,
pub tax_type: TaxProductResourceLineItemTaxRateDetailsTaxType,
}Fields§
§display_name: StringA 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: StringThe tax rate percentage as a string. For example, 8.5% is represented as “8.5”.
tax_type: TaxProductResourceLineItemTaxRateDetailsTaxTypeThe 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 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 TaxProductResourceLineItemTaxRateDetails
impl FromValueOpt for TaxProductResourceLineItemTaxRateDetails
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for TaxProductResourceLineItemTaxRateDetails
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