pub enum AuthStatusSource {
Stored,
Runtime,
Environment,
Fallback,
ModelsJsonKey,
ModelsJsonCommand,
}Expand description
The auth status.source record.
Variants§
Stored
auth.json.
Runtime
--api-key.
Environment
Environment variable(s).
Fallback
Override apiKey literal.
ModelsJsonKey
models.json literal key.
ModelsJsonCommand
models.json !command.
Trait Implementations§
Source§impl Clone for AuthStatusSource
impl Clone for AuthStatusSource
impl Copy for AuthStatusSource
Source§impl Debug for AuthStatusSource
impl Debug for AuthStatusSource
Source§impl<'de> Deserialize<'de> for AuthStatusSource
impl<'de> Deserialize<'de> for AuthStatusSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AuthStatusSource
Source§impl PartialEq for AuthStatusSource
impl PartialEq for AuthStatusSource
Source§impl Serialize for AuthStatusSource
impl Serialize for AuthStatusSource
impl StructuralPartialEq for AuthStatusSource
Auto Trait Implementations§
impl Freeze for AuthStatusSource
impl RefUnwindSafe for AuthStatusSource
impl Send for AuthStatusSource
impl Sync for AuthStatusSource
impl Unpin for AuthStatusSource
impl UnsafeUnpin for AuthStatusSource
impl UnwindSafe for AuthStatusSource
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.