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