Struct stripe::LineItemsDiscountAmount
source · pub struct LineItemsDiscountAmount {
pub amount: i64,
pub discount: Discount,
}
Fields§
§amount: i64
The amount discounted.
discount: Discount
Trait Implementations§
source§impl Clone for LineItemsDiscountAmount
impl Clone for LineItemsDiscountAmount
source§fn clone(&self) -> LineItemsDiscountAmount
fn clone(&self) -> LineItemsDiscountAmount
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 LineItemsDiscountAmount
impl Debug for LineItemsDiscountAmount
source§impl Default for LineItemsDiscountAmount
impl Default for LineItemsDiscountAmount
source§fn default() -> LineItemsDiscountAmount
fn default() -> LineItemsDiscountAmount
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LineItemsDiscountAmount
impl<'de> Deserialize<'de> for LineItemsDiscountAmount
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