pub struct ApiSettings {
pub ollama: Option<OllamaApiSettings>,
pub openai: Option<OpenAiApiSettings>,
pub anthropic: Option<AnthropicApiSettings>,
}Fields§
§ollama: Option<OllamaApiSettings>§openai: Option<OpenAiApiSettings>§anthropic: Option<AnthropicApiSettings>Trait Implementations§
Source§impl Clone for ApiSettings
impl Clone for ApiSettings
Source§fn clone(&self) -> ApiSettings
fn clone(&self) -> ApiSettings
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 ApiSettings
impl Debug for ApiSettings
Source§impl<'de> Deserialize<'de> for ApiSettings
impl<'de> Deserialize<'de> for ApiSettings
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 ApiSettings
impl RefUnwindSafe for ApiSettings
impl Send for ApiSettings
impl Sync for ApiSettings
impl Unpin for ApiSettings
impl UnwindSafe for ApiSettings
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