pub enum JmapSecret {
Raw(SecretString),
Command(String),
}Available on crate features
jmap and wizard only.Expand description
Source of a JMAP secret (password or token).
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 JmapSecret
impl Clone for JmapSecret
Source§fn clone(&self) -> JmapSecret
fn clone(&self) -> JmapSecret
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 JmapSecret
impl RefUnwindSafe for JmapSecret
impl Send for JmapSecret
impl Sync for JmapSecret
impl Unpin for JmapSecret
impl UnsafeUnpin for JmapSecret
impl UnwindSafe for JmapSecret
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