Skip to main content

PathItemExt

Trait PathItemExt 

Source
pub trait PathItemExt {
    // Required method
    fn create() -> PathItem;
}
Available on crate feature openapi and non-WebAssembly only.
Expand description

Extension trait for PathItem to provide constructor

Required Methods§

Source

fn create() -> PathItem

Create a new PathItem

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§