pub trait DocRequestBody {
// Required method
fn describe(op: &mut Operation);
}Expand description
Contributes the request body schema to an operation.
Only one extractor per handler should implement this — a handler with two request bodies is ill-formed.
Required 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.