pub struct SignUp {
pub name: String,
pub email: String,
pub password: String,
pub password_confirmation: String,
}Expand description
The sign-up form PasswordAuth registers from, and a custom
Registrar can take as its input: a name, an email address, and a new password typed
twice.
Fields§
§name: StringThe display name, posted as name.
email: StringThe email address the account signs in with, posted as email.
password: StringThe new password, posted as password.
password_confirmation: StringThe password typed again, posted as password_confirmation.
Implementations§
Source§impl SignUp
impl SignUp
Sourcepub fn password_errors(&self) -> FieldErrors
pub fn password_errors(&self) -> FieldErrors
The refusals new_password_errors makes of this sign-up’s passwords.
Trait Implementations§
Source§impl ActionInput for SignUp
impl ActionInput for SignUp
Source§impl Debug for SignUp
Redacts the passwords, so a sign-up logged with ? writes none to the log.
impl Debug for SignUp
Redacts the passwords, so a sign-up logged with ? writes none to the log.
impl Eq for SignUp
impl StructuralPartialEq for SignUp
Auto Trait Implementations§
impl Freeze for SignUp
impl RefUnwindSafe for SignUp
impl Send for SignUp
impl Sync for SignUp
impl Unpin for SignUp
impl UnsafeUnpin for SignUp
impl UnwindSafe for SignUp
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.