pub struct Schema {
pub type_name: String,
pub fields: Vec<SchemaField>,
}Expand description
JSON-schema-ish description of the expected result shape.
Built by the runtime from Kora type declarations.
Fields§
§type_name: String§fields: Vec<SchemaField>Ordered field list.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Schema
impl RefUnwindSafe for Schema
impl Send for Schema
impl Sync for Schema
impl Unpin for Schema
impl UnsafeUnpin for Schema
impl UnwindSafe for Schema
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