pub struct OpenApiOperation {
pub method: String,
pub path: String,
pub operation: Operation,
pub security: Option<Vec<SecurityRequirement>>,
}
Expand description
Stub OpenApiOperation for compilation
Fields§
§method: String
§path: String
§operation: Operation
§security: Option<Vec<SecurityRequirement>>
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