pub struct ResponseFormatJsonObject {}
Expand description
JSON object response format. An older method of generating JSON responses.
Using json_schema
is recommended for models that support it. Note that the
model will not generate JSON without a system or user message instructing it
to do so.
Implementations§
Trait Implementations§
Source§impl Clone for ResponseFormatJsonObject
impl Clone for ResponseFormatJsonObject
Source§fn clone(&self) -> ResponseFormatJsonObject
fn clone(&self) -> ResponseFormatJsonObject
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 ResponseFormatJsonObject
impl Debug for ResponseFormatJsonObject
Source§impl Default for ResponseFormatJsonObject
impl Default for ResponseFormatJsonObject
Source§fn default() -> ResponseFormatJsonObject
fn default() -> ResponseFormatJsonObject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResponseFormatJsonObject
impl<'de> Deserialize<'de> for ResponseFormatJsonObject
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 ResponseFormatJsonObject
impl PartialEq for ResponseFormatJsonObject
Source§impl Serialize for ResponseFormatJsonObject
impl Serialize for ResponseFormatJsonObject
impl Copy for ResponseFormatJsonObject
impl StructuralPartialEq for ResponseFormatJsonObject
Auto Trait Implementations§
impl Freeze for ResponseFormatJsonObject
impl RefUnwindSafe for ResponseFormatJsonObject
impl Send for ResponseFormatJsonObject
impl Sync for ResponseFormatJsonObject
impl Unpin for ResponseFormatJsonObject
impl UnwindSafe for ResponseFormatJsonObject
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