pub struct ResetEmail;
Expand description
Resets user email
§Flow
POST
to this route- recieve one of:
- email gets sent to the user -
204 - No Content
- email already exists -
409 - Conflict
- email gets sent to the user -
- recieve one of:
PATCH /v1/user/reset-email
Trait Implementations§
Source§impl ApiEndpoint for ResetEmail
impl ApiEndpoint for ResetEmail
Source§type Req = ResetEmailRequest
type Req = ResetEmailRequest
The request type for this endpoint.
Source§type Res = ResetEmailResponse
type Res = ResetEmailResponse
The response type for this endpoint.
Source§type Path = ResetEmailPath
type Path = ResetEmailPath
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 ResetEmail
impl RefUnwindSafe for ResetEmail
impl Send for ResetEmail
impl Sync for ResetEmail
impl Unpin for ResetEmail
impl UnwindSafe for ResetEmail
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