pub enum Provider {
Show 16 variants
Anthropic,
Azure,
Cohere,
DeepSeek,
Galadriel,
Gemini,
Groq,
HuggingFace,
Hyperbolic,
Mira,
Moonshot,
OpenAI,
OpenRouter,
Ollama,
Perplexity,
Xai,
}Variants§
Anthropic
Anthropic API
Alias: anthropic
Azure
Azure API
Alias: azure
Cohere
Cohere API
Alias: cohere
DeepSeek
Deepseek API
Alias: deepseek
Galadriel
Galadriel API
Alias: galadriel
Gemini
Gemini API
Alias: gemini
Groq
Groq API
Alias: groq
HuggingFace
HuggingFace API
Alias: huggingface, hf
Hyperbolic
Hyperbolic API
Alias: hyperbolic
Mira
Mira API
Alias: mira
Moonshot
Moonshot API
Alias: moonshot
OpenAI
OpenAI API
Alias: openai, openai-api, openai-compatible
OpenRouter
OpenRouter API
Alias: openrouter
Ollama
Ollama API
Alias: ollama
Perplexity
Perplexity API
Alias: perplexity
Xai
Xai API
Alias: xai
Implementations§
Trait Implementations§
impl Copy for Provider
impl Eq for Provider
impl StructuralPartialEq for Provider
Auto Trait Implementations§
impl Freeze for Provider
impl RefUnwindSafe for Provider
impl Send for Provider
impl Sync for Provider
impl Unpin for Provider
impl UnwindSafe for Provider
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.