pub enum BuySubscriptionError {
Status563(ErrorResponseSchema),
Status573(ErrorResponseSchema),
Status422(ErrorResponseSchema),
}Expand description
struct for typed errors of method buy_subscription
Variants§
Status563(ErrorResponseSchema)
Insufficient gems.
Status573(ErrorResponseSchema)
An active Stripe subscription cannot be extended with gems or member tokens.
Status422(ErrorResponseSchema)
Request could not be processed due to an invalid payload.
Trait Implementations§
Source§impl Clone for BuySubscriptionError
impl Clone for BuySubscriptionError
Source§fn clone(&self) -> BuySubscriptionError
fn clone(&self) -> BuySubscriptionError
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 moreSource§impl Debug for BuySubscriptionError
impl Debug for BuySubscriptionError
Source§impl<'de> Deserialize<'de> for BuySubscriptionError
impl<'de> Deserialize<'de> for BuySubscriptionError
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BuySubscriptionError
impl RefUnwindSafe for BuySubscriptionError
impl Send for BuySubscriptionError
impl Sync for BuySubscriptionError
impl Unpin for BuySubscriptionError
impl UnsafeUnpin for BuySubscriptionError
impl UnwindSafe for BuySubscriptionError
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