pub struct AmountDetailsTaxParam {
pub total_tax_amount: i64,
}Fields§
§total_tax_amount: i64The total amount of tax on the transaction represented in the smallest currency unit. Required for L2 rates. An integer greater than or equal to 0.
This field is mutually exclusive with the amount_details[line_items][#][tax][total_tax_amount] field.
Implementations§
Trait Implementations§
Source§impl Clone for AmountDetailsTaxParam
impl Clone for AmountDetailsTaxParam
Source§fn clone(&self) -> AmountDetailsTaxParam
fn clone(&self) -> AmountDetailsTaxParam
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 AmountDetailsTaxParam
impl Debug for AmountDetailsTaxParam
Source§impl Serialize for AmountDetailsTaxParam
impl Serialize for AmountDetailsTaxParam
impl Copy for AmountDetailsTaxParam
Auto Trait Implementations§
impl Freeze for AmountDetailsTaxParam
impl RefUnwindSafe for AmountDetailsTaxParam
impl Send for AmountDetailsTaxParam
impl Sync for AmountDetailsTaxParam
impl Unpin for AmountDetailsTaxParam
impl UnwindSafe for AmountDetailsTaxParam
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