pub enum ApiErrorsType {
ApiError,
CardError,
IdempotencyError,
InvalidRequestError,
}
Expand description
The type of error returned.
One of api_error
, card_error
, idempotency_error
, or invalid_request_error
.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ApiErrorsType
impl Clone for ApiErrorsType
Source§fn clone(&self) -> ApiErrorsType
fn clone(&self) -> ApiErrorsType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ApiErrorsType
impl Debug for ApiErrorsType
Source§impl Deserialize for ApiErrorsType
impl Deserialize for ApiErrorsType
Source§impl Display for ApiErrorsType
impl Display for ApiErrorsType
Source§impl FromStr for ApiErrorsType
impl FromStr for ApiErrorsType
Source§impl FromValueOpt for ApiErrorsType
impl FromValueOpt for ApiErrorsType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for ApiErrorsType
impl PartialEq for ApiErrorsType
impl Copy for ApiErrorsType
impl Eq for ApiErrorsType
impl StructuralPartialEq for ApiErrorsType
Auto Trait Implementations§
impl Freeze for ApiErrorsType
impl RefUnwindSafe for ApiErrorsType
impl Send for ApiErrorsType
impl Sync for ApiErrorsType
impl Unpin for ApiErrorsType
impl UnwindSafe for ApiErrorsType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more