pub struct LineItemsDiscountAmount {
pub amount: i64,
pub discount: Discount,
}Fields§
§amount: i64The amount discounted.
discount: DiscountTrait Implementations§
Source§impl Clone for LineItemsDiscountAmount
impl Clone for LineItemsDiscountAmount
Source§fn clone(&self) -> LineItemsDiscountAmount
fn clone(&self) -> LineItemsDiscountAmount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FromValueOpt for LineItemsDiscountAmount
impl FromValueOpt for LineItemsDiscountAmount
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for LineItemsDiscountAmount
impl RefUnwindSafe for LineItemsDiscountAmount
impl Send for LineItemsDiscountAmount
impl Sync for LineItemsDiscountAmount
impl Unpin for LineItemsDiscountAmount
impl UnsafeUnpin for LineItemsDiscountAmount
impl UnwindSafe for LineItemsDiscountAmount
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