pub enum AiModelInterfaceKind {
ChatCompletions,
Responses,
Completions,
Embeddings,
Realtime,
Batch,
Custom,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AiModelInterfaceKind
impl Clone for AiModelInterfaceKind
Source§fn clone(&self) -> AiModelInterfaceKind
fn clone(&self) -> AiModelInterfaceKind
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 AiModelInterfaceKind
impl Debug for AiModelInterfaceKind
Source§impl Display for AiModelInterfaceKind
impl Display for AiModelInterfaceKind
Source§impl FromStr for AiModelInterfaceKind
impl FromStr for AiModelInterfaceKind
Source§type Err = AiModelError
type Err = AiModelError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<AiModelInterfaceKind, <AiModelInterfaceKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AiModelInterfaceKind, <AiModelInterfaceKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for AiModelInterfaceKind
impl Hash for AiModelInterfaceKind
Source§impl Ord for AiModelInterfaceKind
impl Ord for AiModelInterfaceKind
Source§fn cmp(&self, other: &AiModelInterfaceKind) -> Ordering
fn cmp(&self, other: &AiModelInterfaceKind) -> 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 AiModelInterfaceKind
impl PartialEq for AiModelInterfaceKind
Source§fn eq(&self, other: &AiModelInterfaceKind) -> bool
fn eq(&self, other: &AiModelInterfaceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AiModelInterfaceKind
impl PartialOrd for AiModelInterfaceKind
impl Copy for AiModelInterfaceKind
impl Eq for AiModelInterfaceKind
impl StructuralPartialEq for AiModelInterfaceKind
Auto Trait Implementations§
impl Freeze for AiModelInterfaceKind
impl RefUnwindSafe for AiModelInterfaceKind
impl Send for AiModelInterfaceKind
impl Sync for AiModelInterfaceKind
impl Unpin for AiModelInterfaceKind
impl UnsafeUnpin for AiModelInterfaceKind
impl UnwindSafe for AiModelInterfaceKind
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