pub struct ProviderSection {
pub provider_type: Option<String>,
pub api_key: Option<String>,
pub api_base: Option<String>,
pub model: Option<String>,
}Expand description
[provider] section.
Fields§
§provider_type: Option<String>§api_key: Option<String>§api_base: Option<String>§model: Option<String>Trait Implementations§
Source§impl Debug for ProviderSection
impl Debug for ProviderSection
Source§impl<'de> Deserialize<'de> for ProviderSection
impl<'de> Deserialize<'de> for ProviderSection
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 ProviderSection
impl RefUnwindSafe for ProviderSection
impl Send for ProviderSection
impl Sync for ProviderSection
impl Unpin for ProviderSection
impl UnsafeUnpin for ProviderSection
impl UnwindSafe for ProviderSection
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