pub struct JsonSchema {
pub name: String,
pub schema: Value,
}
Expand description
Represents a JSON Schema for structured outputs
Fields§
§name: String
Name of the schema
schema: Value
The actual schema definition
Trait Implementations§
Source§impl Debug for JsonSchema
impl Debug for JsonSchema
Auto Trait Implementations§
impl Freeze for JsonSchema
impl RefUnwindSafe for JsonSchema
impl Send for JsonSchema
impl Sync for JsonSchema
impl Unpin for JsonSchema
impl UnwindSafe for JsonSchema
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