Struct stripe::generated::core::shipping_rate::ShippingRateFixedAmount
source · pub struct ShippingRateFixedAmount {
pub amount: i64,
pub currency: Currency,
pub currency_options: Option<ShippingRateCurrencyOption>,
}Fields§
§amount: i64A non-negative integer in cents representing how much to charge.
currency: CurrencyThree-letter ISO currency code, in lowercase.
Must be a supported currency.
currency_options: Option<ShippingRateCurrencyOption>Shipping rates defined in each available currency option.
Each key must be a three-letter ISO currency code and a supported currency.
Trait Implementations§
source§impl Clone for ShippingRateFixedAmount
impl Clone for ShippingRateFixedAmount
source§fn clone(&self) -> ShippingRateFixedAmount
fn clone(&self) -> ShippingRateFixedAmount
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 ShippingRateFixedAmount
impl Debug for ShippingRateFixedAmount
source§impl Default for ShippingRateFixedAmount
impl Default for ShippingRateFixedAmount
source§fn default() -> ShippingRateFixedAmount
fn default() -> ShippingRateFixedAmount
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ShippingRateFixedAmount
impl<'de> Deserialize<'de> for ShippingRateFixedAmount
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