pub struct ProviderInstanceConfig {
pub provider_type: String,
pub api_key_env_var: String,
pub model_config: ModelConfig,
}Fields§
§provider_type: String§api_key_env_var: String§model_config: ModelConfigTrait Implementations§
Source§impl Clone for ProviderInstanceConfig
impl Clone for ProviderInstanceConfig
Source§fn clone(&self) -> ProviderInstanceConfig
fn clone(&self) -> ProviderInstanceConfig
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 ProviderInstanceConfig
impl Debug for ProviderInstanceConfig
Source§impl<'de> Deserialize<'de> for ProviderInstanceConfig
impl<'de> Deserialize<'de> for ProviderInstanceConfig
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 ProviderInstanceConfig
impl RefUnwindSafe for ProviderInstanceConfig
impl Send for ProviderInstanceConfig
impl Sync for ProviderInstanceConfig
impl Unpin for ProviderInstanceConfig
impl UnsafeUnpin for ProviderInstanceConfig
impl UnwindSafe for ProviderInstanceConfig
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