pub struct TaxRatesUsed {
pub tax_rate: String,
pub totals: Totals,
}
Fields§
§tax_rate: String
Rate used to calculate tax for this transaction preview.
totals: Totals
Breakdown of a charge in the lowest denomination of a currency (e.g. cents for USD).
Trait Implementations§
Source§impl Clone for TaxRatesUsed
impl Clone for TaxRatesUsed
Source§fn clone(&self) -> TaxRatesUsed
fn clone(&self) -> TaxRatesUsed
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 TaxRatesUsed
impl Debug for TaxRatesUsed
Source§impl<'de> Deserialize<'de> for TaxRatesUsed
impl<'de> Deserialize<'de> for TaxRatesUsed
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 TaxRatesUsed
impl RefUnwindSafe for TaxRatesUsed
impl Send for TaxRatesUsed
impl Sync for TaxRatesUsed
impl Unpin for TaxRatesUsed
impl UnwindSafe for TaxRatesUsed
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