Struct astrolab_smart_coffee_types::order::update_promo_code::UpdatePromoCodeBody [−][src]
pub struct UpdatePromoCodeBody { pub id: String, pub menu: Option<String>, pub code: Option<String>, pub kind: Option<String>, pub values: Option<PromoCodeValuesBody>, pub limits: Option<PromoCodeLimitsBody>, pub requirements: Option<PromoCodeRequirementsBody>, pub targets: Option<PromoCodeTargetsBody>, pub filters: Option<PromoCodeFiltersBody>, }
Fields
id: String
code: Option<String>
kind: Option<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 UpdatePromoCodeBody
impl Send for UpdatePromoCodeBody
impl Sync for UpdatePromoCodeBody
impl Unpin for UpdatePromoCodeBody
impl UnwindSafe for UpdatePromoCodeBody
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