pub enum ResponseFormatOption {
    Text,
    Json(ResponseFormatJson),
}Expand description
The format that the model must output.
Variants§
Trait Implementations§
Source§impl Clone for ResponseFormatOption
 
impl Clone for ResponseFormatOption
Source§fn clone(&self) -> ResponseFormatOption
 
fn clone(&self) -> ResponseFormatOption
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 ResponseFormatOption
 
impl Debug for ResponseFormatOption
Source§impl<'de> Deserialize<'de> for ResponseFormatOption
 
impl<'de> Deserialize<'de> for ResponseFormatOption
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 ResponseFormatOption
 
impl PartialEq for ResponseFormatOption
Source§impl Serialize for ResponseFormatOption
 
impl Serialize for ResponseFormatOption
impl StructuralPartialEq for ResponseFormatOption
Auto Trait Implementations§
impl Freeze for ResponseFormatOption
impl RefUnwindSafe for ResponseFormatOption
impl Send for ResponseFormatOption
impl Sync for ResponseFormatOption
impl Unpin for ResponseFormatOption
impl UnwindSafe for ResponseFormatOption
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