pub enum RuntimeApiKeySource {
Cli,
ConfigFile,
Keyring,
Env,
}Variants§
Implementations§
Source§impl RuntimeApiKeySource
impl RuntimeApiKeySource
pub fn as_env_value(self) -> &'static str
Trait Implementations§
Source§impl Clone for RuntimeApiKeySource
impl Clone for RuntimeApiKeySource
Source§fn clone(&self) -> RuntimeApiKeySource
fn clone(&self) -> RuntimeApiKeySource
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 moreimpl Copy for RuntimeApiKeySource
Source§impl Debug for RuntimeApiKeySource
impl Debug for RuntimeApiKeySource
impl Eq for RuntimeApiKeySource
Source§impl PartialEq for RuntimeApiKeySource
impl PartialEq for RuntimeApiKeySource
Source§fn eq(&self, other: &RuntimeApiKeySource) -> bool
fn eq(&self, other: &RuntimeApiKeySource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeApiKeySource
Auto Trait Implementations§
impl Freeze for RuntimeApiKeySource
impl RefUnwindSafe for RuntimeApiKeySource
impl Send for RuntimeApiKeySource
impl Sync for RuntimeApiKeySource
impl Unpin for RuntimeApiKeySource
impl UnsafeUnpin for RuntimeApiKeySource
impl UnwindSafe for RuntimeApiKeySource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.