pub enum SupportedProvider {
OpenAI,
OpenRouter,
Ollama,
Groq,
}Expand description
Supported LLM providers.
Variants§
Implementations§
Source§impl SupportedProvider
impl SupportedProvider
Sourcepub fn default_model(&self) -> &'static str
pub fn default_model(&self) -> &'static str
Return the default model identifier for this provider.
Trait Implementations§
Source§impl Clone for SupportedProvider
impl Clone for SupportedProvider
Source§fn clone(&self) -> SupportedProvider
fn clone(&self) -> SupportedProvider
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SupportedProvider
impl Debug for SupportedProvider
Source§impl Default for SupportedProvider
impl Default for SupportedProvider
Source§fn default() -> SupportedProvider
fn default() -> SupportedProvider
Returns the “default value” for a type. Read more
Source§impl Display for SupportedProvider
impl Display for SupportedProvider
impl Eq for SupportedProvider
Source§impl FromStr for SupportedProvider
impl FromStr for SupportedProvider
Source§impl Hash for SupportedProvider
impl Hash for SupportedProvider
Source§impl PartialEq for SupportedProvider
impl PartialEq for SupportedProvider
Source§fn eq(&self, other: &SupportedProvider) -> bool
fn eq(&self, other: &SupportedProvider) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SupportedProvider
Auto Trait Implementations§
impl Freeze for SupportedProvider
impl RefUnwindSafe for SupportedProvider
impl Send for SupportedProvider
impl Sync for SupportedProvider
impl Unpin for SupportedProvider
impl UnsafeUnpin for SupportedProvider
impl UnwindSafe for SupportedProvider
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.