pub struct OpenApiOperation {
pub operation_id: String,
pub summary: String,
pub tags: Vec<String>,
pub description: Option<String>,
pub security: Vec<Value>,
pub parameters: Vec<Value>,
pub request_body: Option<Value>,
pub responses: BTreeMap<String, OpenApiResponse>,
}Fields§
§operation_id: String§summary: String§description: Option<String>§security: Vec<Value>§parameters: Vec<Value>§request_body: Option<Value>§responses: BTreeMap<String, OpenApiResponse>Trait Implementations§
Source§impl Clone for OpenApiOperation
impl Clone for OpenApiOperation
Source§impl Debug for OpenApiOperation
impl Debug for OpenApiOperation
Auto Trait Implementations§
impl Freeze for OpenApiOperation
impl RefUnwindSafe for OpenApiOperation
impl Send for OpenApiOperation
impl Sync for OpenApiOperation
impl Unpin for OpenApiOperation
impl UnsafeUnpin 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