Struct astrolab_smart_coffee_types::digishop::menu::create_menu_type_product::ProductDiscountBody [−][src]
pub struct ProductDiscountBody { pub percentage: Option<i32>, pub price: Option<ProductPriceBody>, }
Fields
percentage: Option<i32>
price: Option<ProductPriceBody>
Trait Implementations
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 RefUnwindSafe for ProductDiscountBody
impl Send for ProductDiscountBody
impl Sync for ProductDiscountBody
impl Unpin for ProductDiscountBody
impl UnwindSafe for ProductDiscountBody
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V