pub struct AdjustmentItemTotals {
pub subtotal: String,
pub tax: String,
pub total: String,
}
Expand description
Breakdown of the total for an adjustment item.
Fields§
§subtotal: String
Amount multiplied by quantity.
tax: String
Total tax on the subtotal.
total: String
Total after tax.
Trait Implementations§
Source§impl Clone for AdjustmentItemTotals
impl Clone for AdjustmentItemTotals
Source§fn clone(&self) -> AdjustmentItemTotals
fn clone(&self) -> AdjustmentItemTotals
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 AdjustmentItemTotals
impl Debug for AdjustmentItemTotals
Source§impl<'de> Deserialize<'de> for AdjustmentItemTotals
impl<'de> Deserialize<'de> for AdjustmentItemTotals
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 AdjustmentItemTotals
impl RefUnwindSafe for AdjustmentItemTotals
impl Send for AdjustmentItemTotals
impl Sync for AdjustmentItemTotals
impl Unpin for AdjustmentItemTotals
impl UnwindSafe for AdjustmentItemTotals
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