pub struct ProviderCredentials {
pub api_key: SecretString,
pub base_url: Option<String>,
pub extra_headers: Vec<(String, String)>,
}Fields§
§api_key: SecretString§base_url: Option<String>Self-hosted endpoint override (used for Ollama, vLLM, LM Studio, OpenRouter, etc.).
extra_headers: Vec<(String, String)>Trait Implementations§
Source§impl Clone for ProviderCredentials
impl Clone for ProviderCredentials
Source§fn clone(&self) -> ProviderCredentials
fn clone(&self) -> ProviderCredentials
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 moreAuto Trait Implementations§
impl Freeze for ProviderCredentials
impl RefUnwindSafe for ProviderCredentials
impl Send for ProviderCredentials
impl Sync for ProviderCredentials
impl Unpin for ProviderCredentials
impl UnsafeUnpin for ProviderCredentials
impl UnwindSafe for ProviderCredentials
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