pub enum AiProviderKind {
HostedApi,
CloudPlatform,
LocalRuntime,
OpenSourceHost,
InternalGateway,
Custom,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AiProviderKind
impl Clone for AiProviderKind
Source§fn clone(&self) -> AiProviderKind
fn clone(&self) -> AiProviderKind
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 AiProviderKind
impl Debug for AiProviderKind
Source§impl Display for AiProviderKind
impl Display for AiProviderKind
Source§impl FromStr for AiProviderKind
impl FromStr for AiProviderKind
Source§type Err = AiProviderError
type Err = AiProviderError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<AiProviderKind, <AiProviderKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AiProviderKind, <AiProviderKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for AiProviderKind
impl Hash for AiProviderKind
Source§impl Ord for AiProviderKind
impl Ord for AiProviderKind
Source§fn cmp(&self, other: &AiProviderKind) -> Ordering
fn cmp(&self, other: &AiProviderKind) -> 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 AiProviderKind
impl PartialEq for AiProviderKind
Source§impl PartialOrd for AiProviderKind
impl PartialOrd for AiProviderKind
impl Copy for AiProviderKind
impl Eq for AiProviderKind
impl StructuralPartialEq for AiProviderKind
Auto Trait Implementations§
impl Freeze for AiProviderKind
impl RefUnwindSafe for AiProviderKind
impl Send for AiProviderKind
impl Sync for AiProviderKind
impl Unpin for AiProviderKind
impl UnsafeUnpin for AiProviderKind
impl UnwindSafe for AiProviderKind
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