pub struct ProviderConfigToml {
pub api_key: Option<String>,
pub base_url: Option<String>,
pub model: Option<String>,
pub mode: Option<String>,
pub auth_mode: Option<String>,
pub insecure_skip_tls_verify: Option<bool>,
pub http_headers: BTreeMap<String, String>,
pub path_suffix: Option<String>,
}Fields§
§api_key: Option<String>§base_url: Option<String>§model: Option<String>§mode: Option<String>§auth_mode: Option<String>§insecure_skip_tls_verify: Option<bool>§http_headers: BTreeMap<String, String>§path_suffix: Option<String>Trait Implementations§
Source§impl Clone for ProviderConfigToml
impl Clone for ProviderConfigToml
Source§fn clone(&self) -> ProviderConfigToml
fn clone(&self) -> ProviderConfigToml
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 ProviderConfigToml
impl Debug for ProviderConfigToml
Source§impl Default for ProviderConfigToml
impl Default for ProviderConfigToml
Source§fn default() -> ProviderConfigToml
fn default() -> ProviderConfigToml
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderConfigToml
impl<'de> Deserialize<'de> for ProviderConfigToml
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 ProviderConfigToml
impl RefUnwindSafe for ProviderConfigToml
impl Send for ProviderConfigToml
impl Sync for ProviderConfigToml
impl Unpin for ProviderConfigToml
impl UnsafeUnpin for ProviderConfigToml
impl UnwindSafe for ProviderConfigToml
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