pub struct ProviderConfigs {
pub anthropic: ProviderConfigFile,
pub openai: ProviderConfigFile,
pub deepseek: ProviderConfigFile,
pub litellm: ProviderConfigFile,
pub custom: BTreeMap<String, ProviderConfigFile>,
}Fields§
§anthropic: ProviderConfigFile§openai: ProviderConfigFile§deepseek: ProviderConfigFile§litellm: ProviderConfigFile§custom: BTreeMap<String, ProviderConfigFile>Implementations§
Source§impl ProviderConfigs
impl ProviderConfigs
pub fn get(&self, provider: &ProviderKind) -> Option<&ProviderConfigFile>
Trait Implementations§
Source§impl Clone for ProviderConfigs
impl Clone for ProviderConfigs
Source§fn clone(&self) -> ProviderConfigs
fn clone(&self) -> ProviderConfigs
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 ProviderConfigs
impl Debug for ProviderConfigs
Source§impl Default for ProviderConfigs
impl Default for ProviderConfigs
Source§fn default() -> ProviderConfigs
fn default() -> ProviderConfigs
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProviderConfigs
impl PartialEq for ProviderConfigs
Source§fn eq(&self, other: &ProviderConfigs) -> bool
fn eq(&self, other: &ProviderConfigs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProviderConfigs
Auto Trait Implementations§
impl Freeze for ProviderConfigs
impl RefUnwindSafe for ProviderConfigs
impl Send for ProviderConfigs
impl Sync for ProviderConfigs
impl Unpin for ProviderConfigs
impl UnsafeUnpin for ProviderConfigs
impl UnwindSafe for ProviderConfigs
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