pub enum ProviderKind {
Defect,
Anthropic,
Openai,
Deepseek,
Litellm,
Custom(String),
}Variants§
Defect
Built-in placeholder provider: echoes the user’s most recent message back as-is
(model id echo).
Requires no external credentials; serves as the fallback default for
default.provider.
Anthropic
Openai
Deepseek
Litellm
Custom(String)
Implementations§
Trait Implementations§
Source§impl Clone for ProviderKind
impl Clone for ProviderKind
Source§fn clone(&self) -> ProviderKind
fn clone(&self) -> ProviderKind
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 ProviderKind
impl Debug for ProviderKind
Source§impl Default for ProviderKind
impl Default for ProviderKind
Source§fn default() -> ProviderKind
fn default() -> ProviderKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderKind
impl<'de> Deserialize<'de> for ProviderKind
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
Source§impl Display for ProviderKind
impl Display for ProviderKind
impl Eq for ProviderKind
Source§impl From<&str> for ProviderKind
impl From<&str> for ProviderKind
Source§impl From<ProviderKind> for String
impl From<ProviderKind> for String
Source§fn from(value: ProviderKind) -> Self
fn from(value: ProviderKind) -> Self
Converts to this type from the input type.
Source§impl From<String> for ProviderKind
impl From<String> for ProviderKind
Source§impl PartialEq for ProviderKind
impl PartialEq for ProviderKind
Source§fn eq(&self, other: &ProviderKind) -> bool
fn eq(&self, other: &ProviderKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderKind
impl Serialize for ProviderKind
impl StructuralPartialEq for ProviderKind
Auto Trait Implementations§
impl Freeze for ProviderKind
impl RefUnwindSafe for ProviderKind
impl Send for ProviderKind
impl Sync for ProviderKind
impl Unpin for ProviderKind
impl UnsafeUnpin for ProviderKind
impl UnwindSafe for ProviderKind
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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.