Enum astrolab_smart_coffee_types::digishop::order::add_to_menu_cart::AddToMenuCartError [−][src]
pub enum AddToMenuCartError {
InvalidObjectId,
InvalidRequest,
InvalidProduct,
ProductNotYetAvailable,
InsufficientQuantity,
VariantDoesNotExist,
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 AddToMenuCartError
impl Send for AddToMenuCartError
impl Sync for AddToMenuCartError
impl Unpin for AddToMenuCartError
impl UnwindSafe for AddToMenuCartError
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