pub struct OutputSchema { /* private fields */ }Expand description
A JSON Schema written to a private temporary file for --output-schema.
The file is created with mode 0600 on Unix and removed when this value
is dropped.
Implementations§
Source§impl OutputSchema
impl OutputSchema
Sourcepub fn from_json_string(schema: &str) -> Result<Self>
pub fn from_json_string(schema: &str) -> Result<Self>
Write already-encoded schema JSON to a new temporary file.
The text is written as given; Codex reports an invalid schema when the run starts.
Trait Implementations§
Source§impl Debug for OutputSchema
impl Debug for OutputSchema
Source§impl Drop for OutputSchema
impl Drop for OutputSchema
Auto Trait Implementations§
impl Forget for OutputSchema
impl Freeze for OutputSchema
impl RefUnwindSafe for OutputSchema
impl Send for OutputSchema
impl Sync for OutputSchema
impl Unpin for OutputSchema
impl UnsafeUnpin for OutputSchema
impl UnwindSafe for OutputSchema
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