pub struct ModelsConfig {
pub providers: HashMap<String, CustomProvider>,
}Expand description
Top-level models configuration mapping provider names to their configs.
Fields§
§providers: HashMap<String, CustomProvider>Provider name to configuration mapping.
Trait Implementations§
Source§impl Clone for ModelsConfig
impl Clone for ModelsConfig
Source§fn clone(&self) -> ModelsConfig
fn clone(&self) -> ModelsConfig
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 ModelsConfig
impl Debug for ModelsConfig
Source§impl Default for ModelsConfig
impl Default for ModelsConfig
Source§fn default() -> ModelsConfig
fn default() -> ModelsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelsConfig
impl<'de> Deserialize<'de> for ModelsConfig
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
Auto Trait Implementations§
impl Freeze for ModelsConfig
impl RefUnwindSafe for ModelsConfig
impl Send for ModelsConfig
impl Sync for ModelsConfig
impl Unpin for ModelsConfig
impl UnwindSafe for ModelsConfig
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