pub struct OperationIr {
pub operation_id: String,
pub description: Option<String>,
pub method: HttpMethod,
pub path: String,
pub tag: Option<String>,
pub parameters: Vec<OperationParam>,
pub request_body: Option<RequestBodyIr>,
pub responses: Vec<OperationResponse>,
}Expand description
A single API operation derived from a path+method in the OpenAPI spec.
Fields§
§operation_id: String§description: Option<String>§method: HttpMethod§path: String§tag: Option<String>§parameters: Vec<OperationParam>§request_body: Option<RequestBodyIr>§responses: Vec<OperationResponse>Trait Implementations§
Source§impl Clone for OperationIr
impl Clone for OperationIr
Source§fn clone(&self) -> OperationIr
fn clone(&self) -> OperationIr
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 moreSource§impl Debug for OperationIr
impl Debug for OperationIr
Source§impl PartialEq for OperationIr
impl PartialEq for OperationIr
impl StructuralPartialEq for OperationIr
Auto Trait Implementations§
impl Freeze for OperationIr
impl RefUnwindSafe for OperationIr
impl Send for OperationIr
impl Sync for OperationIr
impl Unpin for OperationIr
impl UnsafeUnpin for OperationIr
impl UnwindSafe for OperationIr
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