pub struct IrOperation {
pub operation_id: String,
pub tags: Vec<String>,
pub method: String,
pub path: String,
pub summary: Option<String>,
pub description: Option<String>,
pub deprecated: bool,
pub parameters: Vec<IrParameter>,
pub request_body: Option<IrRequestBody>,
pub responses: Vec<IrResponse>,
pub security: Vec<IrSecurityRequirement>,
}Expand description
A fully resolved API operation (one HTTP method + path).
Fields§
§operation_id: String§method: String§path: String§summary: Option<String>§description: Option<String>§deprecated: bool§parameters: Vec<IrParameter>§request_body: Option<IrRequestBody>§responses: Vec<IrResponse>§security: Vec<IrSecurityRequirement>Trait Implementations§
Source§impl Clone for IrOperation
impl Clone for IrOperation
Source§fn clone(&self) -> IrOperation
fn clone(&self) -> IrOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IrOperation
impl Debug for IrOperation
Auto Trait Implementations§
impl Freeze for IrOperation
impl RefUnwindSafe for IrOperation
impl Send for IrOperation
impl Sync for IrOperation
impl Unpin for IrOperation
impl UnsafeUnpin for IrOperation
impl UnwindSafe for IrOperation
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