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