pub enum StripeErrorCode {
Show 22 variants
Unauthorized,
InvalidRequestBody,
SubscriptionNotFound,
SubscriptionPlanNotFound,
AlreadySubscribedPlan,
ReferenceIdNotAllowed,
CustomerNotFound,
UnableToCreateCustomer,
UnableToCreateBillingPortal,
StripeSignatureNotFound,
StripeWebhookSecretNotFound,
StripeWebhookError,
FailedToConstructStripeEvent,
FailedToFetchPlans,
EmailVerificationRequired,
SubscriptionNotActive,
SubscriptionNotPendingChange,
OrganizationNotFound,
OrganizationSubscriptionNotEnabled,
AuthorizeReferenceRequired,
OrganizationHasActiveSubscription,
OrganizationReferenceIdRequired,
}Variants§
InvalidRequestBody
SubscriptionNotFound
SubscriptionPlanNotFound
AlreadySubscribedPlan
ReferenceIdNotAllowed
CustomerNotFound
UnableToCreateCustomer
UnableToCreateBillingPortal
StripeSignatureNotFound
StripeWebhookSecretNotFound
StripeWebhookError
FailedToConstructStripeEvent
FailedToFetchPlans
EmailVerificationRequired
SubscriptionNotActive
SubscriptionNotPendingChange
OrganizationNotFound
OrganizationSubscriptionNotEnabled
AuthorizeReferenceRequired
OrganizationHasActiveSubscription
OrganizationReferenceIdRequired
Implementations§
Trait Implementations§
Source§impl Clone for StripeErrorCode
impl Clone for StripeErrorCode
Source§fn clone(&self) -> StripeErrorCode
fn clone(&self) -> StripeErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StripeErrorCode
Source§impl Debug for StripeErrorCode
impl Debug for StripeErrorCode
Source§impl Display for StripeErrorCode
impl Display for StripeErrorCode
impl Eq for StripeErrorCode
Source§impl ErrorCode for StripeErrorCode
impl ErrorCode for StripeErrorCode
Source§impl PartialEq for StripeErrorCode
impl PartialEq for StripeErrorCode
Source§fn eq(&self, other: &StripeErrorCode) -> bool
fn eq(&self, other: &StripeErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StripeErrorCode
Auto Trait Implementations§
impl Freeze for StripeErrorCode
impl RefUnwindSafe for StripeErrorCode
impl Send for StripeErrorCode
impl Sync for StripeErrorCode
impl Unpin for StripeErrorCode
impl UnsafeUnpin for StripeErrorCode
impl UnwindSafe for StripeErrorCode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.