pub struct Format {
pub format: Schema,
}Expand description
Represents the format configuration for structured output in responses
This struct is used to specify the schema format for structured text output when making requests to the OpenAI Responses API.
Fields§
§format: SchemaThe schema definition that specifies the structure of the expected output
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnsafeUnpin for Format
impl UnwindSafe for Format
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