pub enum CarddavSecret {
Raw(SecretString),
Command(String),
}Available on crate features
carddav and wizard only.Expand description
Secret source collected by the wizard: an inline value or a shell command line.
Variants§
Raw(SecretString)
The secret stored in plaintext in the configuration.
Command(String)
A shell command whose output is the secret.
Trait Implementations§
Source§impl Clone for CarddavSecret
impl Clone for CarddavSecret
Source§fn clone(&self) -> CarddavSecret
fn clone(&self) -> CarddavSecret
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 moreSource§impl Debug for CarddavSecret
impl Debug for CarddavSecret
Auto Trait Implementations§
impl Freeze for CarddavSecret
impl RefUnwindSafe for CarddavSecret
impl Send for CarddavSecret
impl Sync for CarddavSecret
impl Unpin for CarddavSecret
impl UnsafeUnpin for CarddavSecret
impl UnwindSafe for CarddavSecret
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