pub enum AiCapabilityKind {
Show 17 variants
TextGeneration,
Chat,
ToolUse,
StructuredOutput,
JsonMode,
Vision,
AudioInput,
AudioOutput,
ImageGeneration,
ImageEditing,
Embedding,
Reranking,
Reasoning,
Realtime,
Batch,
Moderation,
Custom,
}Variants§
TextGeneration
Chat
ToolUse
StructuredOutput
JsonMode
Vision
AudioInput
AudioOutput
ImageGeneration
ImageEditing
Embedding
Reranking
Reasoning
Realtime
Batch
Moderation
Custom
Implementations§
Trait Implementations§
Source§impl Clone for AiCapabilityKind
impl Clone for AiCapabilityKind
Source§fn clone(&self) -> AiCapabilityKind
fn clone(&self) -> AiCapabilityKind
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 AiCapabilityKind
impl Debug for AiCapabilityKind
Source§impl Display for AiCapabilityKind
impl Display for AiCapabilityKind
Source§impl FromStr for AiCapabilityKind
impl FromStr for AiCapabilityKind
Source§type Err = AiCapabilityError
type Err = AiCapabilityError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<AiCapabilityKind, <AiCapabilityKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AiCapabilityKind, <AiCapabilityKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for AiCapabilityKind
impl Hash for AiCapabilityKind
Source§impl Ord for AiCapabilityKind
impl Ord for AiCapabilityKind
Source§fn cmp(&self, other: &AiCapabilityKind) -> Ordering
fn cmp(&self, other: &AiCapabilityKind) -> Ordering
1.21.0 (const: unstable) · 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 AiCapabilityKind
impl PartialEq for AiCapabilityKind
Source§fn eq(&self, other: &AiCapabilityKind) -> bool
fn eq(&self, other: &AiCapabilityKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AiCapabilityKind
impl PartialOrd for AiCapabilityKind
impl Copy for AiCapabilityKind
impl Eq for AiCapabilityKind
impl StructuralPartialEq for AiCapabilityKind
Auto Trait Implementations§
impl Freeze for AiCapabilityKind
impl RefUnwindSafe for AiCapabilityKind
impl Send for AiCapabilityKind
impl Sync for AiCapabilityKind
impl Unpin for AiCapabilityKind
impl UnsafeUnpin for AiCapabilityKind
impl UnwindSafe for AiCapabilityKind
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