pub struct CatalogDiscount {
pub amount_money: Option<Money>,
pub discount_type: Option<String>,
pub label_color: Option<String>,
pub maximum_amount_money: Option<Money>,
pub modify_tax_basis: Option<String>,
pub name: Option<String>,
pub percentage: Option<String>,
pub pin_required: Option<String>,
}Fields§
§amount_money: Option<Money>§discount_type: Option<String>§label_color: Option<String>§maximum_amount_money: Option<Money>§modify_tax_basis: Option<String>§name: Option<String>§percentage: Option<String>§pin_required: Option<String>Trait Implementations§
Source§impl Clone for CatalogDiscount
impl Clone for CatalogDiscount
Source§fn clone(&self) -> CatalogDiscount
fn clone(&self) -> CatalogDiscount
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 Debug for CatalogDiscount
impl Debug for CatalogDiscount
Source§impl<'de> Deserialize<'de> for CatalogDiscount
impl<'de> Deserialize<'de> for CatalogDiscount
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 CatalogDiscount
impl RefUnwindSafe for CatalogDiscount
impl Send for CatalogDiscount
impl Sync for CatalogDiscount
impl Unpin for CatalogDiscount
impl UnwindSafe for CatalogDiscount
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