pub enum ProfileField {
Name,
Email,
Password,
PasswordConfirmation,
CurrentPassword,
}Expand description
A field of Profile, the key a refusal of a change posts under: a
PasswordAccount names one through ProfileKeys,
errors.add(|f| f.email, ..).
Variants§
Name
The display name, posted as name.
The email address, posted as email.
Password
The new password, posted as password.
PasswordConfirmation
The new password typed again, posted as password_confirmation.
CurrentPassword
The current password, posted as current_password.
Trait Implementations§
Source§impl Clone for ProfileField
impl Clone for ProfileField
impl Copy for ProfileField
Source§impl Debug for ProfileField
impl Debug for ProfileField
impl Eq for ProfileField
Source§impl Hash for ProfileField
impl Hash for ProfileField
Source§impl PartialEq for ProfileField
impl PartialEq for ProfileField
impl StructuralPartialEq for ProfileField
Auto Trait Implementations§
impl Freeze for ProfileField
impl RefUnwindSafe for ProfileField
impl Send for ProfileField
impl Sync for ProfileField
impl Unpin for ProfileField
impl UnsafeUnpin for ProfileField
impl UnwindSafe for ProfileField
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.