pub trait OperationExtensionExt<CurrentPlugin> {
// Required method
fn insert_operation_extension(
self,
) -> HttpPlugins<PluginStack<OperationExtensionPlugin, CurrentPlugin>>;
}
Expand description
An extension trait on HttpPlugins
allowing the application of OperationExtensionPlugin
.
See module
documentation for more info.
Required Methods§
sourcefn insert_operation_extension(
self,
) -> HttpPlugins<PluginStack<OperationExtensionPlugin, CurrentPlugin>>
fn insert_operation_extension( self, ) -> HttpPlugins<PluginStack<OperationExtensionPlugin, CurrentPlugin>>
Apply the OperationExtensionPlugin
, which inserts the OperationExtension
into every http::Response
.