pub struct AccountFormState {Show 25 fields
pub visible: bool,
pub mode: AccountFormMode,
pub pending_mode_switch: Option<AccountFormMode>,
pub key: String,
pub name: String,
pub email: String,
pub gmail_credential_source: GmailCredentialSourceData,
pub gmail_client_id: String,
pub gmail_client_secret: String,
pub gmail_token_ref: String,
pub gmail_authorized: bool,
pub imap_host: String,
pub imap_port: String,
pub imap_username: String,
pub imap_password_ref: String,
pub imap_password: String,
pub smtp_host: String,
pub smtp_port: String,
pub smtp_username: String,
pub smtp_password_ref: String,
pub smtp_password: String,
pub active_field: usize,
pub editing_field: bool,
pub field_cursor: usize,
pub last_result: Option<AccountOperationResult>,
}Fields§
§visible: bool§mode: AccountFormMode§pending_mode_switch: Option<AccountFormMode>§key: String§name: String§email: String§gmail_credential_source: GmailCredentialSourceData§gmail_client_id: String§gmail_client_secret: String§gmail_token_ref: String§imap_host: String§imap_port: String§imap_username: String§imap_password_ref: String§imap_password: String§smtp_host: String§smtp_port: String§smtp_username: String§smtp_password_ref: String§smtp_password: String§active_field: usize§editing_field: bool§field_cursor: usize§last_result: Option<AccountOperationResult>Trait Implementations§
Source§impl Clone for AccountFormState
impl Clone for AccountFormState
Source§fn clone(&self) -> AccountFormState
fn clone(&self) -> AccountFormState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccountFormState
impl Debug for AccountFormState
Auto Trait Implementations§
impl Freeze for AccountFormState
impl RefUnwindSafe for AccountFormState
impl Send for AccountFormState
impl Sync for AccountFormState
impl Unpin for AccountFormState
impl UnsafeUnpin for AccountFormState
impl UnwindSafe for AccountFormState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more