pub struct OrderCouponLineProperties {
pub id: i32,
pub code: String,
pub discount: String,
pub discount_tax: String,
pub meta_data: Vec<MetaData>,
}
Fields§
§id: i32
Item ID.
code: String
Coupon code.
discount: String
Discount total.
discount_tax: String
Discount total tax.
meta_data: Vec<MetaData>
Meta data.
Trait Implementations§
Source§impl Clone for OrderCouponLineProperties
impl Clone for OrderCouponLineProperties
Source§fn clone(&self) -> OrderCouponLineProperties
fn clone(&self) -> OrderCouponLineProperties
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 OrderCouponLineProperties
impl Debug for OrderCouponLineProperties
Source§impl<'de> Deserialize<'de> for OrderCouponLineProperties
impl<'de> Deserialize<'de> for OrderCouponLineProperties
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 OrderCouponLineProperties
impl RefUnwindSafe for OrderCouponLineProperties
impl Send for OrderCouponLineProperties
impl Sync for OrderCouponLineProperties
impl Unpin for OrderCouponLineProperties
impl UnwindSafe for OrderCouponLineProperties
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