Enum astrolab_smart_coffee_types::order::create_promo_code::CreatePromoCodeError [−][src]
pub enum CreatePromoCodeError {
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 CreatePromoCodeError
impl Send for CreatePromoCodeError
impl Sync for CreatePromoCodeError
impl Unpin for CreatePromoCodeError
impl UnwindSafe for CreatePromoCodeError
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
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