Enum astrolab_smart_coffee_types::order::update_promo_code::UpdatePromoCodeError [−][src]
pub enum UpdatePromoCodeError {
InvalidObjectId,
PromoCodeNotFound,
CodeExists,
InvalidRequest,
Default(String),
}
Variants
Default(String)
Tuple Fields of Default
0: String
Trait Implementations
Create response for error Read more
fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Response’s status code Read more
Auto Trait Implementations
impl RefUnwindSafe for UpdatePromoCodeError
impl Send for UpdatePromoCodeError
impl Sync for UpdatePromoCodeError
impl Unpin for UpdatePromoCodeError
impl UnwindSafe for UpdatePromoCodeError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more