pub struct GitAIConfig {
pub provider: String,
pub openai_api_key: Option<String>,
pub anthropic_api_key: Option<String>,
pub gemini_api_key: Option<String>,
pub groq_api_key: Option<String>,
pub xai_api_key: Option<String>,
pub ollama_host: Option<String>,
pub ollama_model: Option<String>,
}
Fields§
§provider: String
§openai_api_key: Option<String>
§anthropic_api_key: Option<String>
§gemini_api_key: Option<String>
§groq_api_key: Option<String>
§xai_api_key: Option<String>
§ollama_host: Option<String>
§ollama_model: Option<String>
Implementations§
Trait Implementations§
Source§impl Debug for GitAIConfig
impl Debug for GitAIConfig
Source§impl Default for GitAIConfig
impl Default for GitAIConfig
Source§impl<'de> Deserialize<'de> for GitAIConfig
impl<'de> Deserialize<'de> for GitAIConfig
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 GitAIConfig
impl RefUnwindSafe for GitAIConfig
impl Send for GitAIConfig
impl Sync for GitAIConfig
impl Unpin for GitAIConfig
impl UnwindSafe for GitAIConfig
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