pub trait BaseMethods {
// Provided method
fn schema() -> String
where Self: Sized + JsonSchema { ... }
}Provided Methods§
fn schema() -> Stringwhere
Self: Sized + JsonSchema,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".