Trait predawn_schema::ToSchema
source · pub trait ToSchema {
const REQUIRED: bool = true;
// Required method
fn schema() -> Schema;
// Provided method
fn schema_ref(components: &mut Components) -> ReferenceOr<Schema> { ... }
}Provided Associated Constants§
Required Methods§
Provided Methods§
fn schema_ref(components: &mut Components) -> ReferenceOr<Schema>
Object Safety§
This trait is not object safe.