pub enum ApiConfigType {
OpenAI,
Azure,
}Variants§
Trait Implementations§
Source§impl Clone for ApiConfigType
impl Clone for ApiConfigType
Source§fn clone(&self) -> ApiConfigType
fn clone(&self) -> ApiConfigType
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 ApiConfigType
impl Debug for ApiConfigType
Source§impl Default for ApiConfigType
impl Default for ApiConfigType
Source§fn default() -> ApiConfigType
fn default() -> ApiConfigType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApiConfigType
impl<'de> Deserialize<'de> for ApiConfigType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ApiConfigType
impl RefUnwindSafe for ApiConfigType
impl Send for ApiConfigType
impl Sync for ApiConfigType
impl Unpin for ApiConfigType
impl UnsafeUnpin for ApiConfigType
impl UnwindSafe for ApiConfigType
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