pub enum Completions {
Davinci,
Curie,
Babbage,
Ada,
}
Expand description
The text model we are using. See https://openai.com/api/pricing/
Variants§
Trait Implementations§
Source§impl Clone for Completions
impl Clone for Completions
Source§fn clone(&self) -> Completions
fn clone(&self) -> Completions
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 Completions
impl Debug for Completions
Source§impl Default for Completions
impl Default for Completions
Source§fn default() -> Completions
fn default() -> Completions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Completions
impl<'de> Deserialize<'de> for Completions
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
Source§impl PartialEq for Completions
impl PartialEq for Completions
Source§impl Serialize for Completions
impl Serialize for Completions
impl Copy for Completions
impl Eq for Completions
impl StructuralPartialEq for Completions
Auto Trait Implementations§
impl Freeze for Completions
impl RefUnwindSafe for Completions
impl Send for Completions
impl Sync for Completions
impl Unpin for Completions
impl UnwindSafe for Completions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.