pub struct OpenApiOperation {
pub method: String,
pub path: String,
pub operation: Operation,
}
Expand description
OpenAPI operation wrapper with path context
Fields§
§method: String
The HTTP method
path: String
The path this operation belongs to
operation: Operation
The OpenAPI operation
Implementations§
Trait Implementations§
Source§impl Clone for OpenApiOperation
impl Clone for OpenApiOperation
Source§fn clone(&self) -> OpenApiOperation
fn clone(&self) -> OpenApiOperation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for OpenApiOperation
impl RefUnwindSafe for OpenApiOperation
impl Send for OpenApiOperation
impl Sync for OpenApiOperation
impl Unpin for OpenApiOperation
impl UnwindSafe for OpenApiOperation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more