pub struct TaxAdjustment {
pub description: String,
pub amount: Decimal,
pub is_addition: bool,
}Expand description
Tax adjustment item.
Fields§
§description: StringDescription.
amount: DecimalAmount.
is_addition: boolIs this a deduction (negative) or addition (positive)?
Trait Implementations§
Source§impl Clone for TaxAdjustment
impl Clone for TaxAdjustment
Source§fn clone(&self) -> TaxAdjustment
fn clone(&self) -> TaxAdjustment
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 moreAuto Trait Implementations§
impl Freeze for TaxAdjustment
impl RefUnwindSafe for TaxAdjustment
impl Send for TaxAdjustment
impl Sync for TaxAdjustment
impl Unpin for TaxAdjustment
impl UnwindSafe for TaxAdjustment
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