pub struct ShippingRateCurrencyOption {
pub amount: i64,
pub tax_behavior: ShippingRateCurrencyOptionTaxBehavior,
}
Fields§
§amount: i64
A non-negative integer in cents representing how much to charge.
tax_behavior: ShippingRateCurrencyOptionTaxBehavior
Specifies whether the rate is considered inclusive of taxes or exclusive of taxes.
One of inclusive
, exclusive
, or unspecified
.
Trait Implementations§
Source§impl Clone for ShippingRateCurrencyOption
impl Clone for ShippingRateCurrencyOption
Source§fn clone(&self) -> ShippingRateCurrencyOption
fn clone(&self) -> ShippingRateCurrencyOption
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 ShippingRateCurrencyOption
impl Debug for ShippingRateCurrencyOption
Source§impl FromValueOpt for ShippingRateCurrencyOption
impl FromValueOpt for ShippingRateCurrencyOption
fn from_value(v: Value) -> Option<Self>
impl Copy for ShippingRateCurrencyOption
Auto Trait Implementations§
impl Freeze for ShippingRateCurrencyOption
impl RefUnwindSafe for ShippingRateCurrencyOption
impl Send for ShippingRateCurrencyOption
impl Sync for ShippingRateCurrencyOption
impl Unpin for ShippingRateCurrencyOption
impl UnwindSafe for ShippingRateCurrencyOption
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