pub struct PicklsAIConfig {
pub system_prompt: String,
pub inline_assist_provider: PicklsAIProvider,
pub inline_assist_prompt_template: String,
pub openai: Option<OpenAIConfig>,
pub ollama: Option<OllamaConfig>,
}Fields§
§system_prompt: String§inline_assist_provider: PicklsAIProvider§inline_assist_prompt_template: String§openai: Option<OpenAIConfig>§ollama: Option<OllamaConfig>Trait Implementations§
Source§impl Clone for PicklsAIConfig
impl Clone for PicklsAIConfig
Source§fn clone(&self) -> PicklsAIConfig
fn clone(&self) -> PicklsAIConfig
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 PicklsAIConfig
impl Debug for PicklsAIConfig
Source§impl Default for PicklsAIConfig
impl Default for PicklsAIConfig
Source§fn default() -> PicklsAIConfig
fn default() -> PicklsAIConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PicklsAIConfig
impl<'de> Deserialize<'de> for PicklsAIConfig
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 PicklsAIConfig
impl RefUnwindSafe for PicklsAIConfig
impl Send for PicklsAIConfig
impl Sync for PicklsAIConfig
impl Unpin for PicklsAIConfig
impl UnwindSafe for PicklsAIConfig
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