pub struct RawTaxInvoice {
pub id: Id,
pub issued_at: Timestamp,
pub seller_id: Id,
pub buyer_id: CustomerId,
pub jurisdiction: TaxJurisdiction,
pub currency: Currency,
pub lines: Vec<RawTaxInvoiceLine>,
pub subtotal: Money,
pub tax: Money,
pub shipping: Money,
pub discount: Money,
pub total: Money,
}Fields§
§id: Id§issued_at: Timestamp§seller_id: Id§buyer_id: CustomerId§jurisdiction: TaxJurisdiction§currency: Currency§lines: Vec<RawTaxInvoiceLine>§subtotal: Money§tax: Money§shipping: Money§discount: Money§total: MoneyTrait Implementations§
Source§impl Clone for RawTaxInvoice
impl Clone for RawTaxInvoice
Source§fn clone(&self) -> RawTaxInvoice
fn clone(&self) -> RawTaxInvoice
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 RawTaxInvoice
impl Debug for RawTaxInvoice
Source§impl PartialEq for RawTaxInvoice
impl PartialEq for RawTaxInvoice
Source§fn eq(&self, other: &RawTaxInvoice) -> bool
fn eq(&self, other: &RawTaxInvoice) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RawTaxInvoice
impl StructuralPartialEq for RawTaxInvoice
Auto Trait Implementations§
impl Freeze for RawTaxInvoice
impl RefUnwindSafe for RawTaxInvoice
impl Send for RawTaxInvoice
impl Sync for RawTaxInvoice
impl Unpin for RawTaxInvoice
impl UnsafeUnpin for RawTaxInvoice
impl UnwindSafe for RawTaxInvoice
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