pub struct ModelRuntimeOptions {
pub models: Vec<LoweredModel>,
pub type_schemas: Vec<ModelTypeSchema>,
}Expand description
The compile-time half of the model boundary: every declared model, plus the
strict JSON Schema for every declared type a generateObject call could
name. Both are frozen into the emitted graph so a request resolves nothing
but its own secret.
Fields§
§models: Vec<LoweredModel>§type_schemas: Vec<ModelTypeSchema>Implementations§
Trait Implementations§
Source§impl Clone for ModelRuntimeOptions
impl Clone for ModelRuntimeOptions
Source§fn clone(&self) -> ModelRuntimeOptions
fn clone(&self) -> ModelRuntimeOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModelRuntimeOptions
impl Debug for ModelRuntimeOptions
Source§impl Default for ModelRuntimeOptions
impl Default for ModelRuntimeOptions
Source§fn default() -> ModelRuntimeOptions
fn default() -> ModelRuntimeOptions
Returns the “default value” for a type. Read more
impl Eq for ModelRuntimeOptions
Source§impl PartialEq for ModelRuntimeOptions
impl PartialEq for ModelRuntimeOptions
impl StructuralPartialEq for ModelRuntimeOptions
Auto Trait Implementations§
impl Freeze for ModelRuntimeOptions
impl RefUnwindSafe for ModelRuntimeOptions
impl Send for ModelRuntimeOptions
impl Sync for ModelRuntimeOptions
impl Unpin for ModelRuntimeOptions
impl UnsafeUnpin for ModelRuntimeOptions
impl UnwindSafe for ModelRuntimeOptions
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