pub enum CredentialsSource {
Auto,
Process,
DefaultLockfile,
Lockfile(PathBuf),
LockfileContent(String),
Manual(Credentials),
}Variants§
Trait Implementations§
Source§impl Clone for CredentialsSource
impl Clone for CredentialsSource
Source§fn clone(&self) -> CredentialsSource
fn clone(&self) -> CredentialsSource
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 CredentialsSource
impl Debug for CredentialsSource
impl Eq for CredentialsSource
Source§impl PartialEq for CredentialsSource
impl PartialEq for CredentialsSource
Source§fn eq(&self, other: &CredentialsSource) -> bool
fn eq(&self, other: &CredentialsSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CredentialsSource
Auto Trait Implementations§
impl Freeze for CredentialsSource
impl RefUnwindSafe for CredentialsSource
impl Send for CredentialsSource
impl Sync for CredentialsSource
impl Unpin for CredentialsSource
impl UnsafeUnpin for CredentialsSource
impl UnwindSafe for CredentialsSource
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