pub struct RawTaxInvoiceLine {
pub sku: Sku,
pub quantity: Quantity,
pub unit_price: Money,
pub discount: Money,
pub treatment: TaxTreatment,
pub rate: TaxRate,
pub rounding_mode: RoundingMode,
pub taxable_amount: Money,
pub tax: Money,
pub total: Money,
}Fields§
§sku: Sku§quantity: Quantity§unit_price: Money§discount: Money§treatment: TaxTreatment§rate: TaxRate§rounding_mode: RoundingMode§taxable_amount: Money§tax: Money§total: MoneyTrait Implementations§
Source§impl Clone for RawTaxInvoiceLine
impl Clone for RawTaxInvoiceLine
Source§fn clone(&self) -> RawTaxInvoiceLine
fn clone(&self) -> RawTaxInvoiceLine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RawTaxInvoiceLine
impl Debug for RawTaxInvoiceLine
Source§impl PartialEq for RawTaxInvoiceLine
impl PartialEq for RawTaxInvoiceLine
Source§fn eq(&self, other: &RawTaxInvoiceLine) -> bool
fn eq(&self, other: &RawTaxInvoiceLine) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RawTaxInvoiceLine
impl StructuralPartialEq for RawTaxInvoiceLine
Auto Trait Implementations§
impl Freeze for RawTaxInvoiceLine
impl RefUnwindSafe for RawTaxInvoiceLine
impl Send for RawTaxInvoiceLine
impl Sync for RawTaxInvoiceLine
impl Unpin for RawTaxInvoiceLine
impl UnsafeUnpin for RawTaxInvoiceLine
impl UnwindSafe for RawTaxInvoiceLine
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