pub enum CredentialSource {
ProjectEnv,
Keychain,
GlobalEnv,
EnvironmentVariable,
}Expand description
Where a credential was resolved from.
Variants§
ProjectEnv
Project-local .life/credentials/.env
Keychain
System keychain (macOS Keychain / Linux secret-tool)
GlobalEnv
Global ~/.life/credentials/.env
EnvironmentVariable
Process environment variable (already set)
Trait Implementations§
Source§impl Clone for CredentialSource
impl Clone for CredentialSource
Source§fn clone(&self) -> CredentialSource
fn clone(&self) -> CredentialSource
Returns a duplicate of the value. Read more
1.0.0 · 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 CredentialSource
impl Debug for CredentialSource
Source§impl Display for CredentialSource
impl Display for CredentialSource
Source§impl PartialEq for CredentialSource
impl PartialEq for CredentialSource
impl Eq for CredentialSource
impl StructuralPartialEq for CredentialSource
Auto Trait Implementations§
impl Freeze for CredentialSource
impl RefUnwindSafe for CredentialSource
impl Send for CredentialSource
impl Sync for CredentialSource
impl Unpin for CredentialSource
impl UnsafeUnpin for CredentialSource
impl UnwindSafe for CredentialSource
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