pub enum ImapSecret {
Raw(SecretString),
Command(String),
}Available on crate features
imap and wizard only.Expand description
Source of an IMAP password.
Variants§
Raw(SecretString)
The password stored in plaintext in the configuration.
Command(String)
A shell command whose output is the password.
Trait Implementations§
Source§impl Clone for ImapSecret
impl Clone for ImapSecret
Source§fn clone(&self) -> ImapSecret
fn clone(&self) -> ImapSecret
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ImapSecret
impl RefUnwindSafe for ImapSecret
impl Send for ImapSecret
impl Sync for ImapSecret
impl Unpin for ImapSecret
impl UnsafeUnpin for ImapSecret
impl UnwindSafe for ImapSecret
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