pub enum LoginField {
Username,
Password,
Authenticating,
Failed,
Success,
}Expand description
State of the login form.
Variants§
Username
Cursor is in the username field.
Password
Cursor is in the password field.
Authenticating
Authenticating (waiting for result).
Failed
Authentication failed.
Success
Authentication succeeded.
Trait Implementations§
Source§impl Clone for LoginField
impl Clone for LoginField
Source§fn clone(&self) -> LoginField
fn clone(&self) -> LoginField
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoginField
impl Debug for LoginField
Source§impl Default for LoginField
impl Default for LoginField
Source§fn default() -> LoginField
fn default() -> LoginField
Returns the “default value” for a type. Read more
Source§impl PartialEq for LoginField
impl PartialEq for LoginField
impl Copy for LoginField
impl Eq for LoginField
impl StructuralPartialEq for LoginField
Auto Trait Implementations§
impl Freeze for LoginField
impl RefUnwindSafe for LoginField
impl Send for LoginField
impl Sync for LoginField
impl Unpin for LoginField
impl UnwindSafe for LoginField
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)