pub enum AiModelKind {
Chat,
Completion,
Embedding,
Reranker,
ImageGeneration,
ImageEditing,
SpeechToText,
TextToSpeech,
Multimodal,
ToolUsing,
Reasoning,
Custom,
}Variants§
Chat
Completion
Embedding
Reranker
ImageGeneration
ImageEditing
SpeechToText
TextToSpeech
Multimodal
ToolUsing
Reasoning
Custom
Implementations§
Source§impl AiModelKind
impl AiModelKind
Trait Implementations§
Source§impl Clone for AiModelKind
impl Clone for AiModelKind
Source§fn clone(&self) -> AiModelKind
fn clone(&self) -> AiModelKind
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 AiModelKind
impl Debug for AiModelKind
Source§impl Display for AiModelKind
impl Display for AiModelKind
Source§impl FromStr for AiModelKind
impl FromStr for AiModelKind
Source§type Err = AiModelError
type Err = AiModelError
The associated error which can be returned from parsing.
Source§fn from_str(value: &str) -> Result<AiModelKind, <AiModelKind as FromStr>::Err>
fn from_str(value: &str) -> Result<AiModelKind, <AiModelKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for AiModelKind
impl Hash for AiModelKind
Source§impl Ord for AiModelKind
impl Ord for AiModelKind
Source§fn cmp(&self, other: &AiModelKind) -> Ordering
fn cmp(&self, other: &AiModelKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AiModelKind
impl PartialEq for AiModelKind
Source§impl PartialOrd for AiModelKind
impl PartialOrd for AiModelKind
impl Copy for AiModelKind
impl Eq for AiModelKind
impl StructuralPartialEq for AiModelKind
Auto Trait Implementations§
impl Freeze for AiModelKind
impl RefUnwindSafe for AiModelKind
impl Send for AiModelKind
impl Sync for AiModelKind
impl Unpin for AiModelKind
impl UnsafeUnpin for AiModelKind
impl UnwindSafe for AiModelKind
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