pub struct ProfileKeys {
pub name: ProfileField,
pub email: ProfileField,
pub password: ProfileField,
pub password_confirmation: ProfileField,
pub current_password: ProfileField,
}Expand description
The fields of Profile, each named like the field, which a refusal picks one from.
Fields§
§name: ProfileFieldThe display name.
email: ProfileFieldThe email address.
password: ProfileFieldThe new password.
password_confirmation: ProfileFieldThe new password typed again.
current_password: ProfileFieldThe current password.
Trait Implementations§
Source§impl Clone for ProfileKeys
impl Clone for ProfileKeys
impl Copy for ProfileKeys
Auto Trait Implementations§
impl Freeze for ProfileKeys
impl RefUnwindSafe for ProfileKeys
impl Send for ProfileKeys
impl Sync for ProfileKeys
impl Unpin for ProfileKeys
impl UnsafeUnpin for ProfileKeys
impl UnwindSafe for ProfileKeys
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