http_methods_iter

Function http_methods_iter 

Source
pub const fn http_methods_iter(item: &PathItem) -> HttpMethodsIter<'_>
Expand description

Creates an iterator over all HTTP methods and their operations in a PathItem

§Arguments

  • item - The PathItem to extract operations from

§Returns

An array of tuples containing the HTTP method name and its optional operation