pub enum ApiFormat {
ChatCompletions,
Responses,
}Expand description
Which API format to use when communicating with a provider.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ApiFormat
impl<'de> Deserialize<'de> for ApiFormat
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
impl StructuralPartialEq for ApiFormat
Auto Trait Implementations§
impl Freeze for ApiFormat
impl RefUnwindSafe for ApiFormat
impl Send for ApiFormat
impl Sync for ApiFormat
impl Unpin for ApiFormat
impl UnsafeUnpin for ApiFormat
impl UnwindSafe for ApiFormat
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