pub struct Operation {
pub tags: Vec<String>,
pub summary: Option<String>,
pub description: Option<String>,
pub external_docs: Option<ExternalDoc>,
pub operation_id: Option<String>,
pub consumes: Option<Vec<String>>,
pub produces: Option<Vec<String>>,
pub parameters: Option<Vec<MayBeRef200<Parameter>>>,
pub responses: IndexMap<String, MayBeRef200<Response>>,
pub schemes: Option<Vec<String>>,
pub deprecated: Option<bool>,
}
Fields§
§summary: Option<String>
§description: Option<String>
§external_docs: Option<ExternalDoc>
§operation_id: Option<String>
§consumes: Option<Vec<String>>
§produces: Option<Vec<String>>
§parameters: Option<Vec<MayBeRef200<Parameter>>>
§responses: IndexMap<String, MayBeRef200<Response>>
§schemes: Option<Vec<String>>
§deprecated: Option<bool>
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
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