pub struct ResetPassword;
Expand description
Reset a user’s password.
§Flow
POST
This route.- email gets sent to the included email address
- recieve
204 - No Content
PUT /v1/user/me/password
Trait Implementations§
Source§impl ApiEndpoint for ResetPassword
impl ApiEndpoint for ResetPassword
Source§type Req = ResetPasswordRequest
type Req = ResetPasswordRequest
The request type for this endpoint.
Source§type Path = ResetPasswordPath
type Path = ResetPasswordPath
The path type for this endpoint.
Source§type Err = EmptyError
type Err = EmptyError
The (inner) error type for this endpoint.
Auto Trait Implementations§
impl Freeze for ResetPassword
impl RefUnwindSafe for ResetPassword
impl Send for ResetPassword
impl Sync for ResetPassword
impl Unpin for ResetPassword
impl UnwindSafe for ResetPassword
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