pub struct AdjustmentTaxRateUsedTotals {
pub subtotal: String,
pub tax: String,
pub total: String,
}Expand description
Calculated totals for the tax applied to this adjustment.
Fields§
§subtotal: StringTotal before tax. For tax adjustments, the value is 0.
tax: StringTotal tax on the subtotal.
total: StringTotal after tax.
Trait Implementations§
Source§impl Clone for AdjustmentTaxRateUsedTotals
impl Clone for AdjustmentTaxRateUsedTotals
Source§fn clone(&self) -> AdjustmentTaxRateUsedTotals
fn clone(&self) -> AdjustmentTaxRateUsedTotals
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 AdjustmentTaxRateUsedTotals
impl Debug for AdjustmentTaxRateUsedTotals
Source§impl<'de> Deserialize<'de> for AdjustmentTaxRateUsedTotals
impl<'de> Deserialize<'de> for AdjustmentTaxRateUsedTotals
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 Freeze for AdjustmentTaxRateUsedTotals
impl RefUnwindSafe for AdjustmentTaxRateUsedTotals
impl Send for AdjustmentTaxRateUsedTotals
impl Sync for AdjustmentTaxRateUsedTotals
impl Unpin for AdjustmentTaxRateUsedTotals
impl UnwindSafe for AdjustmentTaxRateUsedTotals
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