Struct stripe::ShippingRateCurrencyOption
source · 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 copy 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 Default for ShippingRateCurrencyOption
impl Default for ShippingRateCurrencyOption
source§fn default() -> ShippingRateCurrencyOption
fn default() -> ShippingRateCurrencyOption
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ShippingRateCurrencyOption
impl<'de> Deserialize<'de> for ShippingRateCurrencyOption
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 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