Struct astrolab_smart_coffee_types::order::update_promo_code::PromoCodeLimitsBody [−][src]
pub struct PromoCodeLimitsBody { pub start_date: Option<DateTime<Utc>>, pub end_date: Option<DateTime<Utc>>, pub maximum_uses: Option<i32>, pub is_used_once: Option<bool>, }
Fields
start_date: Option<DateTime<Utc>>
end_date: Option<DateTime<Utc>>
maximum_uses: Option<i32>
is_used_once: Option<bool>
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 PromoCodeLimitsBody
impl Send for PromoCodeLimitsBody
impl Sync for PromoCodeLimitsBody
impl Unpin for PromoCodeLimitsBody
impl UnwindSafe for PromoCodeLimitsBody
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