Struct astrolab_smart_coffee_types::order::create_promo_code::CreatePromoCodeBody [−][src]
pub struct CreatePromoCodeBody { pub menu: String, pub code: String, pub kind: String, pub values: Option<PromoCodeValuesBody>, pub limits: Option<PromoCodeLimitsBody>, pub requirements: Option<PromoCodeRequirementsBody>, pub targets: Option<PromoCodeTargetsBody>, pub filters: Option<PromoCodeFiltersBody>, }
Fields
code: String
kind: String
values: Option<PromoCodeValuesBody>
limits: Option<PromoCodeLimitsBody>
requirements: Option<PromoCodeRequirementsBody>
targets: Option<PromoCodeTargetsBody>
filters: Option<PromoCodeFiltersBody>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CreatePromoCodeBody
impl Send for CreatePromoCodeBody
impl Sync for CreatePromoCodeBody
impl Unpin for CreatePromoCodeBody
impl UnwindSafe for CreatePromoCodeBody
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