pub struct TaxTotal {
pub tax_amount: f64,
pub tax_subtotal: Option<Vec<TaxSubtotal>>,
}Expand description
Aggregate tax information
Fields§
§tax_amount: f64Total tax amount for the invoice
tax_subtotal: Option<Vec<TaxSubtotal>>Optional breakdown of taxes by category
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaxTotal
impl<'de> Deserialize<'de> for TaxTotal
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 TaxTotal
impl RefUnwindSafe for TaxTotal
impl Send for TaxTotal
impl Sync for TaxTotal
impl Unpin for TaxTotal
impl UnwindSafe for TaxTotal
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