pub enum SmtpSecret {
Raw(SecretString),
Command(String),
}Available on crate features
smtp and wizard only.Expand description
Source of an SMTP 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 SmtpSecret
impl Clone for SmtpSecret
Source§fn clone(&self) -> SmtpSecret
fn clone(&self) -> SmtpSecret
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 SmtpSecret
impl RefUnwindSafe for SmtpSecret
impl Send for SmtpSecret
impl Sync for SmtpSecret
impl Unpin for SmtpSecret
impl UnsafeUnpin for SmtpSecret
impl UnwindSafe for SmtpSecret
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