pub enum CarddavAuth {
Basic {
username: String,
secret: CarddavSecret,
},
Bearer {
secret: CarddavSecret,
},
}Available on crate features
carddav and wizard only.Expand description
CardDAV authentication mechanism collected by the wizard.
Variants§
Basic
HTTP Basic authentication with a username and a password secret.
Fields
§
secret: CarddavSecretThe password secret.
Bearer
HTTP Bearer authentication with a token secret.
Fields
§
secret: CarddavSecretThe token secret.
Trait Implementations§
Source§impl Clone for CarddavAuth
impl Clone for CarddavAuth
Source§fn clone(&self) -> CarddavAuth
fn clone(&self) -> CarddavAuth
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 CarddavAuth
impl Debug for CarddavAuth
Auto Trait Implementations§
impl Freeze for CarddavAuth
impl RefUnwindSafe for CarddavAuth
impl Send for CarddavAuth
impl Sync for CarddavAuth
impl Unpin for CarddavAuth
impl UnsafeUnpin for CarddavAuth
impl UnwindSafe for CarddavAuth
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