pub trait GeminiSchema {
// Required method
fn gemini_schema() -> Value;
// Provided method
fn name(gemini_schema: &Value) -> Option<&str> { ... }
}Expand description
Trait for types that can generate a Gemini-compatible JSON schema.
Required Methods§
fn gemini_schema() -> Value
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.