pub struct CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions {
pub amount: i64,
pub tax_behavior: Option<CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptionsTaxBehavior>,
}
Available on crate feature
billing
only.Fields§
§amount: i64
A non-negative integer in cents representing how much to charge.
tax_behavior: Option<CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptionsTaxBehavior>
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 CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
impl Clone for CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
Source§fn clone(
&self,
) -> CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
fn clone( &self, ) -> CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
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 Default for CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
impl Default for CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
Source§fn default() -> CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
fn default() -> CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
impl<'de> Deserialize<'de> for CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
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 CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
impl RefUnwindSafe for CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
impl Send for CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
impl Sync for CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
impl Unpin for CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
impl UnwindSafe for CreateInvoiceShippingCostShippingRateDataFixedAmountCurrencyOptions
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