pub enum CancelSubscriptionError {
Status404(ErrorResponseSchema),
Status422(ErrorResponseSchema),
}Expand description
struct for typed errors of method cancel_subscription
Variants§
Status404(ErrorResponseSchema)
Subscription not found.
Status422(ErrorResponseSchema)
Request could not be processed due to an invalid payload.
Trait Implementations§
Source§impl Clone for CancelSubscriptionError
impl Clone for CancelSubscriptionError
Source§fn clone(&self) -> CancelSubscriptionError
fn clone(&self) -> CancelSubscriptionError
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 CancelSubscriptionError
impl Debug for CancelSubscriptionError
Source§impl<'de> Deserialize<'de> for CancelSubscriptionError
impl<'de> Deserialize<'de> for CancelSubscriptionError
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 CancelSubscriptionError
impl RefUnwindSafe for CancelSubscriptionError
impl Send for CancelSubscriptionError
impl Sync for CancelSubscriptionError
impl Unpin for CancelSubscriptionError
impl UnsafeUnpin for CancelSubscriptionError
impl UnwindSafe for CancelSubscriptionError
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