pub enum UserInput {
SignUp,
Create,
Update,
}Expand description
Which user write Internal::user_fields reads client input for.
Variants§
SignUp
A client creating their own user: /sign-up/email, or an email code that signs up.
Create
The server creating a user (auth.api().create_user(..)).
Update
/update-user, for the signed-in user.
Trait Implementations§
impl Copy for UserInput
impl Eq for UserInput
impl StructuralPartialEq for UserInput
Auto Trait Implementations§
impl Forget for UserInput
impl Freeze for UserInput
impl Move for UserInput
impl RefUnwindSafe for UserInput
impl Send for UserInput
impl Sync for UserInput
impl Unpin for UserInput
impl UnsafeUnpin for UserInput
impl UnwindSafe for UserInput
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