pub struct Operation {
pub description: String,
pub operation_id: String,
pub parameters: Vec<Parameter>,
pub responses: Option<LinkedHashMap<String, Responses>>,
pub summary: Option<String>,
pub tags: Vec<String>,
pub request_body: Option<RequestBody>,
}
Fields§
§description: String
§operation_id: String
§parameters: Vec<Parameter>
§responses: Option<LinkedHashMap<String, Responses>>
§summary: Option<String>
§request_body: Option<RequestBody>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Operation
impl<'de> Deserialize<'de> for Operation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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