pub trait OpenApiInputAlg {
// Required method
fn describe(schema: &JsonSchemaShape) -> OpenApiArgument;
}Expand description
States how a document describes one argument.
Required Methods§
Sourcefn describe(schema: &JsonSchemaShape) -> OpenApiArgument
fn describe(schema: &JsonSchemaShape) -> OpenApiArgument
Describes this argument, naming the shapes it states along the way.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".