Skip to main content

HasParamMeta

Trait HasParamMeta 

Source
pub trait HasParamMeta {
    // Provided method
    fn param_meta() -> ParamMeta { ... }
}
Expand description

Trait for types that provide parameter metadata.

Implement this trait to enable automatic OpenAPI parameter documentation.

Provided Methods§

Source

fn param_meta() -> ParamMeta

Get the parameter metadata for this type.

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.

Implementors§