Enum astrolab_smart_coffee_types::order::check_menu_order::CheckMenuOrderError [−][src]
pub enum CheckMenuOrderError {
InvalidObjectId,
CartIsEmpty,
InvalidPayment,
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 CheckMenuOrderError
impl Send for CheckMenuOrderError
impl Sync for CheckMenuOrderError
impl Unpin for CheckMenuOrderError
impl UnwindSafe for CheckMenuOrderError
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