pub enum OpenAiModel {
Gpt5,
Gpt5Nano,
Gpt5Mini,
Gpt5_1,
Gpt5_2,
Gpt4o,
Gpt4oMini,
O3,
O3Mini,
O4Mini,
}Expand description
Exhaustive list of models officially supported by the OpenAI back-end.
Keeping the list small avoids accidental typos while still allowing
arbitrary model names through Model::Custom.
Variants§
Trait Implementations§
Source§impl Clone for OpenAiModel
impl Clone for OpenAiModel
Source§fn clone(&self) -> OpenAiModel
fn clone(&self) -> OpenAiModel
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenAiModel
impl Debug for OpenAiModel
Source§impl From<OpenAiModel> for Model
impl From<OpenAiModel> for Model
Source§fn from(val: OpenAiModel) -> Self
fn from(val: OpenAiModel) -> Self
Converts to this type from the input type.
Source§impl Hash for OpenAiModel
impl Hash for OpenAiModel
Source§impl PartialEq for OpenAiModel
impl PartialEq for OpenAiModel
impl Copy for OpenAiModel
impl Eq for OpenAiModel
impl StructuralPartialEq for OpenAiModel
Auto Trait Implementations§
impl Freeze for OpenAiModel
impl RefUnwindSafe for OpenAiModel
impl Send for OpenAiModel
impl Sync for OpenAiModel
impl Unpin for OpenAiModel
impl UnwindSafe for OpenAiModel
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)