pub enum ResetPasswordError {
    Status561(ErrorResponseSchema),
    Status562(ErrorResponseSchema),
    Status560(ErrorResponseSchema),
    Status422(ErrorResponseSchema),
}Expand description
struct for typed errors of method reset_password
Variants§
Status561(ErrorResponseSchema)
The password reset token has expired.
Status562(ErrorResponseSchema)
This password reset token has already been used.
Status560(ErrorResponseSchema)
The password reset token is invalid.
Status422(ErrorResponseSchema)
Request could not be processed due to an invalid payload.
Trait Implementations§
Source§impl Clone for ResetPasswordError
 
impl Clone for ResetPasswordError
Source§fn clone(&self) -> ResetPasswordError
 
fn clone(&self) -> ResetPasswordError
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 ResetPasswordError
 
impl Debug for ResetPasswordError
Source§impl<'de> Deserialize<'de> for ResetPasswordError
 
impl<'de> Deserialize<'de> for ResetPasswordError
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 ResetPasswordError
impl RefUnwindSafe for ResetPasswordError
impl Send for ResetPasswordError
impl Sync for ResetPasswordError
impl Unpin for ResetPasswordError
impl UnwindSafe for ResetPasswordError
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