pub struct Create;
Expand description
Create a new user.
§Flow
POST
to this route- recieve one of:
- email gets sent to the user -
204 - No Content
- email already exists -
409 - Conflict
- In the future this may contain information about how the email is registered.
- email gets sent to the user -
- recieve one of:
POST /v1/user/verify-email
POST /v1/user/me/profile
Trait Implementations§
Source§impl ApiEndpoint for Create
impl ApiEndpoint for Create
Source§type Req = CreateUserRequest
type Req = CreateUserRequest
The request type for this endpoint.
Source§type Path = CreateUserPath
type Path = CreateUserPath
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 Create
impl RefUnwindSafe for Create
impl Send for Create
impl Sync for Create
impl Unpin for Create
impl UnwindSafe for Create
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