pub struct Operation {
pub summary: Option<String>,
pub description: Option<String>,
pub consumes: Option<Vec<String>>,
pub produces: Option<Vec<String>>,
pub schemes: Option<Vec<String>>,
pub tags: Option<Vec<String>>,
pub operation_id: Option<String>,
pub responses: BTreeMap<String, Response>,
pub parameters: Option<Vec<Parameter>>,
}
Fields
summary: Option<String>
description: Option<String>
consumes: Option<Vec<String>>
produces: Option<Vec<String>>
schemes: Option<Vec<String>>
tags: Option<Vec<String>>
operation_id: Option<String>
responses: BTreeMap<String, Response>
parameters: Option<Vec<Parameter>>
Trait Implementations
Formats the value using the given formatter.
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.