pub struct UpdateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions {
pub amount: i64,
pub tax_behavior: Option<UpdateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptionsTaxBehavior>,
}
Expand description
Shipping rates defined in each available currency option. Each key must be a three-letter ISO currency code and a supported currency.
Fields§
§amount: i64
A non-negative integer in cents representing how much to charge.
tax_behavior: Option<UpdateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptionsTaxBehavior>
Specifies whether the rate is considered inclusive of taxes or exclusive of taxes.
One of inclusive
, exclusive
, or unspecified
.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
impl Clone for UpdateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
Source§fn clone(
&self,
) -> UpdateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
fn clone( &self, ) -> UpdateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
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 moreimpl Copy for UpdateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
Auto Trait Implementations§
impl Freeze for UpdateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
impl RefUnwindSafe for UpdateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
impl Send for UpdateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
impl Sync for UpdateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
impl Unpin for UpdateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
impl UnwindSafe for UpdateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
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